[alsa-devel] [PATCH 0/4] Haswell Display audio routing bug fix
xingchao.wang at linux.intel.com
Fri Jun 14 17:20:25 CEST 2013
This patchset used to fix some display audio issues on Haswell platform.
I tested this patch on Haswell ult board, C0 stepping, with eDP pannel, HDMI
monitor, DP monitor.
The fixed issues:
1) when only HDMI or DP monitor connected, hear sound on ALL three HDMI devices.
2) when HDMI + DP monitors connected, hear sound on HDMI and DP at the same
time no matter you're playing audio on DP or HDMI device.
3) When DP + HDMI + eDP connected, no sound could be heard.
4) After bootup, play audio on HDMI device 7(use second pin), no sound.
If play audio on device 3 at first(use first pin), it has sound again.
There's quite different hardware changes for haswell display audio, compared
with previous Ivybridge/Sandybridge. The common hd-a driver and hdmi driver
need make improvement to support.
Haswell chip supports Dp1.2 feature(see ref 1). This is very cool feture
windows had supported. We get confirm linux gfx team has plan to support Dp1.2
in future too. We're ready to support dp1.2 feature in audio side, as the
converter selection dependency is fixed in this patchset. Also we need some
improvement in HDA driver side because Haswell added new Verb to support DP1.2.
here’s a video show about DP1.2 feature
Please apply the patches based on Daniel's drm-intel-next-queued branch:
last commit 80e83831a64b9a5d49e844691037b2d4be0f14f9
Please feel free to let me know the issues you meet during test.
Wang Xingchao (4):
ALSA: hda - Haswell converter power state D0 verify
ALSA: hda - Return error when open empty hdmi device
drm/i915: Add display audio routing APIs for ALSA
ALSA: hda - Add display audio routing API for haswell
drivers/gpu/drm/i915/i915_drv.h | 18 +++++
drivers/gpu/drm/i915/intel_ddi.c | 131 +++++++++++++++++++++++++++++++++--
drivers/gpu/drm/i915/intel_display.c | 7 +-
drivers/gpu/drm/i915/intel_drv.h | 1 +
include/drm/i915_powerwell.h | 5 ++
sound/pci/hda/hda_i915.c | 83 ++++++++++++++++++++++
sound/pci/hda/hda_i915.h | 4 ++
sound/pci/hda/patch_hdmi.c | 37 ++++++++++
8 files changed, 281 insertions(+), 5 deletions(-)
More information about the Alsa-devel