[Intel-gfx] DDC/CI on Q965 DVI port

2010-09-19 Thread Val Ferdinand Caro
Hi, I am doing a simple DDC/CI app (change brightness/contrast/etc...) For this project I am scanning the PCI bus, identifying the device, getting the base address and mapping it. Then using I2C bit algorithm on each GPIO register 0x5010, 0x5014, 0x5018, 0x501C..., and 0x502C. The approach i

Re: [Intel-gfx] [Inter-gfx][PATCH][v3 1/4] drm/i915: fix HAS_BSD with a device info flag

2010-09-19 Thread Chris Wilson
Applied the series to -next, thanks. I will push that branch once I'm home and able to boot test on a few more systems. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.f

Re: [Intel-gfx] [PATCH 4/4] drm/i915: add new param to force audio on or off for HDMI/DP port

2010-09-19 Thread Chris Wilson
On Sun, 19 Sep 2010 16:22:06 +0800, Zhenyu Wang wrote: > On 2010.09.19 09:14:53 +0100, Chris Wilson wrote: > > On Sun, 19 Sep 2010 14:52:09 +0800, Zhenyu Wang > > wrote: > > > Two reasons to add this param, one is for some AV device requiring > > > HDMI input for audio, but some device might not

Re: [Intel-gfx] [PATCH 4/4] drm/i915: add new param to force audio on or off for HDMI/DP port

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

Re: [Intel-gfx] [PATCH 4/4] drm/i915: add new param to force audio on or off for HDMI/DP port

2010-09-19 Thread Chris Wilson
On Sun, 19 Sep 2010 14:52:09 +0800, Zhenyu Wang wrote: > 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. I was thinking along the lines of a con

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 1/4] drm/edid: add helper function to detect monitor audio capability

2010-09-19 Thread Zhenyu Wang
On 2010.09.19 08:38:07 +0100, Chris Wilson wrote: > > This should be cc'ed for Adam Jackson's attention as well. yep, I think I cc-ed ajax in git-send-mail command line...I'll amend the commit. > > +bool drm_detect_monitor_audio(struct edid *edid) > > drm_edid_has_monitor_audio()? That is a lit

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

Re: [Intel-gfx] [PATCH 1/4] drm/edid: add helper function to detect monitor audio capability

2010-09-19 Thread Chris Wilson
[Lets see if I have a working vpn connection today...] On Sun, 19 Sep 2010 14:52:06 +0800, Zhenyu Wang wrote: > 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-