All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Xingchao <xingchao.wang@intel.com>
To: daniel@ffwll.ch, przanoni@gmail.com
Cc: intel-gfx@lists.freedesktop.org
Subject: [PATCH v6 2/4] drm/i915: write eld info for HDMI audio
Date: Thu,  9 Aug 2012 16:52:16 +0800	[thread overview]
Message-ID: <1344502338-28371-3-git-send-email-xingchao.wang@intel.com> (raw)
In-Reply-To: <1344502338-28371-1-git-send-email-xingchao.wang@intel.com>

HDMI audio related registers will be configured in write_eld callback.

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
---
 drivers/gpu/drm/i915/intel_ddi.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index 32604ac..4c12371 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -718,8 +718,12 @@ void intel_ddi_mode_set(struct drm_encoder *encoder,
 		/* Proper support for digital audio needs a new logic and a new set
 		 * of registers, so we leave it for future patch bombing.
 		 */
-		DRM_DEBUG_DRIVER("HDMI audio on pipe %c not yet supported on DDI\n",
+		DRM_DEBUG_DRIVER("HDMI audio on pipe %c on DDI\n",
 				 pipe_name(intel_crtc->pipe));
+
+		/* write eld */
+		DRM_DEBUG_DRIVER("HDMI audio: write eld information\n");
+		intel_write_eld(encoder, adjusted_mode);
 	}
 
 	/* Enable PIPE_DDI_FUNC_CTL for the pipe to work in HDMI mode */
-- 
1.7.9.5

  parent reply	other threads:[~2012-08-09  9:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09  8:52 [PATCH v6 0/4] Haswell HDMI/DP audio enable Wang Xingchao
2012-08-09  8:52 ` [PATCH v6 1/4] drm/i915: HSW audio registers definition Wang Xingchao
2012-08-09  8:52 ` Wang Xingchao [this message]
2012-08-09  8:52 ` [PATCH v6 3/4] drm/i915: Haswell HDMI audio initialization Wang Xingchao
2012-08-10 13:14   ` Imre Deak
2012-08-10 14:52     ` Wang, Xingchao
2012-08-14 12:35       ` Imre Deak
2012-08-15  2:46         ` Wang, Xingchao
2012-08-09  8:52 ` [PATCH v6 4/4] drm/i915: ironlake_write_eld code cleanup Wang Xingchao
2012-08-14 11:49   ` Daniel Vetter
2012-08-15  3:29     ` Wang, Xingchao

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=1344502338-28371-3-git-send-email-xingchao.wang@intel.com \
    --to=xingchao.wang@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=przanoni@gmail.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.