Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Alex Deucher
On Sun, Sep 19, 2010 at 10:56 AM, Pasi K?rkk?inen wrote: > On Sun, Sep 19, 2010 at 03:25:47PM +0300, Pasi K?rkk?inen wrote: >> > > >> > > so "/proc/acpi/button/lid/LID/state" seems to work properly on my laptop, >> > > but is there a way to monitor the state of the drm/kms outputs from >> > > /pr

Re: [autofs] Remaining BKL users, what to do

2010-09-19 Thread Ian Kent
On Thu, 2010-09-16 at 16:32 +0200, Arnd Bergmann wrote: > The big kernel lock is gone from almost all code in linux-next, this is > the status of what I think will happen to the remaining users: > ... > fs/autofs: > Pretty much dead, replaced by autofs4. I'd suggest moving this > to

Re: [PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Andy Walls
On Sun, 2010-09-19 at 20:39 +0200, Rafał Miłecki wrote: > 2010/9/18 Marcin Slusarz : > > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: > >> On my system, every 10 seconds drm_edid_block_valid() gets called 4 > >> times by radeon_dvi_detect(). This results in 4 instances of a > >> mul

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 11:56:27PM -0400, Alex Deucher wrote: > On Sun, Sep 19, 2010 at 10:56 AM, Pasi Kärkkäinen wrote: > > On Sun, Sep 19, 2010 at 03:25:47PM +0300, Pasi Kärkkäinen wrote: > >> > > > >> > > so "/proc/acpi/button/lid/LID/state" seems to work properly on my > >> > > laptop, > >> >

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Alex Deucher
On Sun, Sep 19, 2010 at 10:56 AM, Pasi Kärkkäinen wrote: > On Sun, Sep 19, 2010 at 03:25:47PM +0300, Pasi Kärkkäinen wrote: >> > > >> > > so "/proc/acpi/button/lid/LID/state" seems to work properly on my laptop, >> > > but is there a way to monitor the state of the drm/kms outputs from >> > > /pr

[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Rafał Miłecki
2010/9/18 Marcin Slusarz : > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: >> On my system, every 10 seconds drm_edid_block_valid() gets called 4 >> times by radeon_dvi_detect(). ?This results in 4 instances of a >> multi-line hex dump of the same EDID (non-)data being logged every 10

[Bug 29928] [RADEON-KMS, Evergreen, Eyefinity 5] Invalid output on 4th monitor

2010-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29928 --- Comment #7 from ISHIKAWA Mutsumi 2010-09-19 20:09:38 PDT --- I tested All 4 monitors connected with DP -> DVI acctive convertor. It is same result (monitor connected on lates port show garbage). -- Configure bugmail: https://bugs.freedesk

[Bug 29928] [RADEON-KMS, Evergreen, Eyefinity 5] Invalid output on 4th monitor

2010-09-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29928 --- Comment #7 from ISHIKAWA Mutsumi 2010-09-19 20:09:38 PDT --- I tested All 4 monitors connected with DP -> DVI acctive convertor. It is same result (monitor connected on lates port show garbage). -- Configure bugmail: https://bugs.freedesk

Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 03:25:47PM +0300, Pasi K?rkk?inen wrote: > > > > > > so "/proc/acpi/button/lid/LID/state" seems to work properly on my laptop, > > > but is there a way to monitor the state of the drm/kms outputs from > > > /proc, /sys or from somewhere? > > > > > > I'd like to see the s

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

2010-09-19 Thread Zhenyu Wang
s 4D781827 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100919/d5242aec/attachment.pgp>

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

2010-09-19 Thread Zhenyu Wang
lable Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100919/83d0a75e/attachment.pgp>

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

2010-09-19 Thread Zhenyu Wang
ys 4D781827 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100919/31bf312a/attachment.pgp>

Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 02:34:03PM +0300, Pasi K?rkk?inen wrote: > On Sun, Sep 19, 2010 at 02:18:34PM +0300, Pasi K?rkk?inen wrote: > > On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi K?rkk?inen wrote: > > > > >> > > > > > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > > > > > lid clos

[PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Andy Walls
On Sun, 2010-09-19 at 20:39 +0200, Rafa? Mi?ecki wrote: > 2010/9/18 Marcin Slusarz : > > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: > >> On my system, every 10 seconds drm_edid_block_valid() gets called 4 > >> times by radeon_dvi_detect(). This results in 4 instances of a > >> mul

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

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

[PATCH 3/4] drm/i915: Enable HDMI audio for monitor with audio support

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

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

2010-09-19 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/

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

2010-09-19 Thread Zhenyu Wang
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 +

[PATCH 0/4] updated patches for KMS audio

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

Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 02:18:34PM +0300, Pasi K?rkk?inen wrote: > On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi K?rkk?inen wrote: > > > >> > > > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > > > lid closed: > > > > $ cat /proc/acpi/button/lid/LID/state > > > > state: ? ? ?closed >

Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi K?rkk?inen wrote: > > >> > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > lid closed: > > > $ cat /proc/acpi/button/lid/LID/state > > > state: ? ? ?closed > > > > > > lid open: > > > $ cat /proc/acpi/button/lid/LID/state > > > state: ? ?

[PATCH 2/3] drm/i915: Enable DisplayPort audio

2010-09-19 Thread Zhenyu Wang
Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20100919/bdadcbc7/attachment.pgp>

Re: [PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Rafał Miłecki
2010/9/18 Marcin Slusarz : > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: >> On my system, every 10 seconds drm_edid_block_valid() gets called 4 >> times by radeon_dvi_detect().  This results in 4 instances of a >> multi-line hex dump of the same EDID (non-)data being logged every 10

Re: [PATCH] drm/edid: Don't repeatedly log hex dumps of bad EDIDs by default

2010-09-19 Thread Andy Walls
On Sat, 2010-09-18 at 13:50 +0200, Marcin Slusarz wrote: > On Fri, Sep 17, 2010 at 06:53:26PM -0400, Andy Walls wrote: > > On my system, every 10 seconds drm_edid_block_valid() gets called 4 > > times by radeon_dvi_detect(). This results in 4 instances of a > > multi-line hex dump of the same EDID

[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 > linux.intel.com> wrote: > > > Two reasons to add this param, one is for some AV device requiring > > > HDMI input for audio, but some d

[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 co

[Bug 25618] Cairo-Dock's Switcher applet not displayed with OpenGL

2010-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25618 --- Comment #6 from Tobias 2010-09-19 09:13:49 PDT --- Created an attachment (id=38800) --> (https://bugs.freedesktop.org/attachment.cgi?id=38800) Invisible Icons with OpenGL Hi, when using the free radeon driver that comes with Ubuntu 10.04.1

[Bug 25618] Cairo-Dock's Switcher applet not displayed with OpenGL

2010-09-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25618 --- Comment #6 from Tobias 2010-09-19 09:13:49 PDT --- Created an attachment (id=38800) --> (https://bugs.freedesktop.org/attachment.cgi?id=38800) Invisible Icons with OpenGL Hi, when using the free radeon driver that comes with Ubuntu 10.04.1

[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 ch

[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

[Bug 30265] r600g: potential memory leak

2010-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30265 --- Comment #1 from Nicolas Kaiser 2010-09-19 08:12:42 PDT --- Created an attachment (id=38799) --> (https://bugs.freedesktop.org/attachment.cgi?id=38799) (r600c) Output of valgrind --trace-children=yes --leak-check=full glxgears For comparison

[Bug 30265] r600g: potential memory leak

2010-09-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30265 --- Comment #1 from Nicolas Kaiser 2010-09-19 08:12:42 PDT --- Created an attachment (id=38799) --> (https://bugs.freedesktop.org/attachment.cgi?id=38799) (r600c) Output of valgrind --trace-children=yes --leak-check=full glxgears For compariso

[Bug 30265] New: r600g: potential memory leak

2010-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30265 Summary: r600g: potential memory leak Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium

[Bug 30265] New: r600g: potential memory leak

2010-09-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30265 Summary: r600g: potential memory leak Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 03:25:47PM +0300, Pasi Kärkkäinen wrote: > > > > > > so "/proc/acpi/button/lid/LID/state" seems to work properly on my laptop, > > > but is there a way to monitor the state of the drm/kms outputs from > > > /proc, /sys or from somewhere? > > > > > > I'd like to see the s

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 02:34:03PM +0300, Pasi Kärkkäinen wrote: > On Sun, Sep 19, 2010 at 02:18:34PM +0300, Pasi Kärkkäinen wrote: > > On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi Kärkkäinen wrote: > > > > >> > > > > > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > > > > > lid clos

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi Kärkkäinen wrote: > > >> > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > lid closed: > > > $ cat /proc/acpi/button/lid/LID/state > > > state:      closed > > > > > > lid open: > > > $ cat /proc/acpi/button/lid/LID/state > > > state:    

Re: Radeon 3650HD laptop LVDS lid open/closed detection problem

2010-09-19 Thread Pasi Kärkkäinen
On Sun, Sep 19, 2010 at 02:18:34PM +0300, Pasi Kärkkäinen wrote: > On Tue, Jul 27, 2010 at 11:41:12AM +0300, Pasi Kärkkäinen wrote: > > > >> > > > > > > > > Yes, the lid acpi stuff seems to work: > > > > > > > > lid closed: > > > > $ cat /proc/acpi/button/lid/LID/state > > > > state:      closed >

Re: [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: [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: [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: [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: [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-