Re: [Intel-gfx] [PATCH 2/4] drm/i915: Enable DisplayPort audio

2010-09-19 Thread Zhenyu Wang
On 2010.09.19 08:43:30 +0100, Chris Wilson wrote: > Move the switch and register check into a separate function, so > the main detect body becomes: > if (HAS_PCH_SPLIT(dev)) > status = ironlake_dp_detect(connector); > else > status = g4x_dp_detect(connector); > if (status != connector

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Enable DisplayPort audio

2010-09-19 Thread Chris Wilson
On Sun, 19 Sep 2010 14:52:07 +0800, Zhenyu Wang wrote: > 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 cha

[Intel-gfx] [PATCH 2/4] drm/i915: Enable DisplayPort audio

2010-09-18 Thread Zhenyu Wang
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/