All of lore.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima@gmail.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Intel Atom SoC Bay/Cherry Trail - HDMI Audio
Date: Fri, 18 Mar 2016 20:32:15 +0100	[thread overview]
Message-ID: <56EC57BF.2050701@gmail.com> (raw)

Hi Fi

$ wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.6.tar.xz
$ tar xf linux-4.4.6.tar.xz 
$ cd linux-4.4.6/

$ curl -s https://patchwork.freedesktop.org/api/1.0/series/4142/revisions/1/mbox/ | patch -p1
...
patching file drivers/gpu/drm/i915/i915_reg.h
Hunk #1 succeeded at 1993 with fuzz 2 (offset -69 lines).
Hunk #2 FAILED at 3369.
Hunk #3 FAILED at 3378.
2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/i915_reg.h.rej
...

$ cat drivers/gpu/drm/i915/i915_reg.h.rej
--- drivers/gpu/drm/i915/i915_reg.h
+++ drivers/gpu/drm/i915/i915_reg.h
@@ -3369,6 +3374,7 @@ enum skl_disp_power_wells {
 #define _GEN3_SDVOC	0x61160
 #define GEN3_SDVOB	_MMIO(_GEN3_SDVOB)
 #define GEN3_SDVOC	_MMIO(_GEN3_SDVOC)
+#define HDMIB	(dev_priv->info.display_mmio_offset + 0x61140)
 #define GEN4_HDMIB	GEN3_SDVOB
 #define GEN4_HDMIC	GEN3_SDVOC
 #define VLV_HDMIB	_MMIO(VLV_DISPLAY_BASE + 0x61140)
@@ -3378,6 +3384,7 @@ enum skl_disp_power_wells {
 #define PCH_HDMIB	PCH_SDVOB
 #define PCH_HDMIC	_MMIO(0xe1150)
 #define PCH_HDMID	_MMIO(0xe1160)
+#define PORT_ENABLE	(1 << 31)
 
 #define PORT_DFT_I9XX				_MMIO(0x61150)
 #define   DC_BALANCE_RESET			(1 << 25)


"_MMIO"s came with
drm/i915: Type safe register read/write
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/gpu/drm/i915/i915_reg.h?h=linux-4.5.y&id=f0f59a0
so I guess this hdmi_audio code goes on top of >= 4.5 kernel series (current mainline),
not as the https://github.com/plbossart/sound/commits/baytrail-stick-rebase-4.4

Beside https://lists.freedesktop.org/archives/intel-gfx/
and https://patchwork.freedesktop.org/project/intel-gfx/
is there a branch at https://cgit.freedesktop.org/drm-intel/
or a repo at https://git.kernel.org/cgit/ in which this hdmi_audio code exists?

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2016-03-18 19:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-18 19:32 poma [this message]
2016-03-19 10:05 ` Intel Atom SoC Bay/Cherry Trail - HDMI Audio poma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56EC57BF.2050701@gmail.com \
    --to=pomidorabelisima@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.