OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d8d3e
)
drm/i915/audio: add audio codec enable debug log for g4x
author
Jani Nikula
<jani.nikula@intel.com>
Mon, 27 Oct 2014 14:26:58 +0000
(16:26 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:42:18 +0000
(18:42 +0100)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_audio.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_audio.c
b/drivers/gpu/drm/i915/intel_audio.c
index
fa0eecf
..
c4c036a
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_audio.c
+++ b/
drivers/gpu/drm/i915/intel_audio.c
@@
-122,6
+122,8
@@
static void g4x_audio_codec_enable(struct drm_connector *connector,
uint32_t tmp;
int len, i;
+ DRM_DEBUG_KMS("Enable audio codec, %u bytes ELD\n", eld[2]);
+
tmp = I915_READ(G4X_AUD_VID_DID);
if (tmp == INTEL_AUDIO_DEVBLC || tmp == INTEL_AUDIO_DEVCL)
eldv = G4X_ELDV_DEVCL_DEVBLC;