Two reasons to add this param, one is for some AV device requiring
HDMI input for audio, but some device might not have sane EDID info
to enable audio on HDMI port. Another is for testing purpose.
Signed-off-by: Zhenyu Wang
---
drivers/gpu/drm/i915/i915_drv.c |3 +++
drivers/gpu/drm/i915/i
Rely on monitor's audio capability to turn on audio output for HDMI.
Tested-by: Wu Fengguang
Signed-off-by: Zhenyu Wang
---
drivers/gpu/drm/i915/intel_hdmi.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c
b/drivers/gpu/drm/
This will turn on DP audio output by checking monitor's audio
capability.
Tested-by: Wu Fengguang
Signed-off-by: Zhenyu Wang
---
drivers/gpu/drm/i915/intel_dp.c | 61 +++
1 files changed, 36 insertions(+), 25 deletions(-)
diff --git a/drivers/gpu/drm/i915/
To help to determine if digital display port needs to enable
audio output or not. This one adds a helper to get monitor's
audio capability via EDID CEA extension block.
Tested-by: Wu Fengguang
Signed-off-by: Zhenyu Wang
---
drivers/gpu/drm/drm_edid.c | 92 +
I found my check for audio capability within CEA extension might
has some conflict with Adam's patch to add more detailed mode from
CEA ext block. But I haven't found Adam's patch in next tree, so I
just kept my current change.
This fixed incorrect probe for DP monitor's audio. Fengguang helped
to
On 2010.09.16 14:31:31 +0800, Zhenyu Wang wrote:
> This will turn on DP audio output by checking monitor's audio
> capability.
>
oops, please ignore this one. Check EDID data after it's already
freed...
> Signed-off-by: Zhenyu Wang
> ---
> drivers/gpu/drm/i915/intel_dp.c |4
> 1 files