nouveau optimus dynamic power off

2013-07-28 Thread Dave Airlie
I finally got back to debugging the HDMI audio interactions that stopped me last time, This adds switcheroo + nouveau + hda_intel support for turning off the secondary GPU in optimus laptops, saving a lot of power. The GPU should come back on for things like lspci on the devices or for DRI_PRIME=

[PATCH 4/4] snd/hda: add runtime suspend/resume on optimus support

2013-07-28 Thread Dave Airlie
Add support for HDMI audio device on VGA cards that powerdown to D3cold using non-standard ACPI/PCI infrastructure (optimus). This does a couple of things to make it work: a) add a set of power ops for the hdmi domain, and enables them via vga_switcheroo when we are a switcheroo controlled card.

[PATCH 3/4] nouveau: add runtime PM support (v0.7)

2013-07-28 Thread Dave Airlie
From: Dave Airlie This hooks nouveau up to the runtime PM system to enable dynamic power management for secondary GPUs in switchable and optimus laptops. a) rewrite suspend/resume printks to hide them during dynamic s/r to avoid cluttering logs b) add runtime pm suspend to irq handler, crtc disp

[PATCH 1/4] gpu/vga_switcheroo: add driver control power feature. (v3)

2013-07-28 Thread Dave Airlie
From: Dave Airlie For optimus and powerxpress muxless we really want the GPU driver deciding when to power up/down the GPU, not userspace. This adds the ability for a driver to dynamically power up/down the GPU and remove the switcheroo from controlling it, the switcheroo reports the dynamic sta

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #3 from Rafał Miłecki --- You can also compare output of avivotool regs hdmi when using 3.9 and 3.10. That should give some hint. -- You are receiving this mail because: You are the assignee for the bug.

[RFC 7/9] backports: backport ww_mutex support

2013-07-28 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This backports the kernel's wound/wait style locks 040a0a371, using the linux-stable v3.11-rc2 as a base for development. Given the complexity to support debugging mutexes this backport implementation is simplified by only making this feature availabe if you to have DEBU

[PATCH] drm/cirrus: fix error handling in cirrus_device_init()

2013-07-28 Thread Wei Yongjun
From: Wei Yongjun Fix the error handling in function cirrus_device_init() to avoid resources leak in the error handling case. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/cirrus/cirrus_main.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[PATCH 2/2] i2c.c: Fixed coding style issue for if statement

2013-07-28 Thread santosh.anbu
From: "santosh.anbu" Fixed coding style issue Signed-off-by: santosh.anbu --- drivers/gpu/drm/nouveau/core/subdev/bios/i2c.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/i2c.c b/drivers/gpu/drm/nouveau/core/subdev/bi

RE: [Intel-gfx] [PATCH] drm/i915: Sync the hotplug work when device suspending

2013-07-28 Thread Liu, Chuansheng
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Saturday, July 27, 2013 5:40 PM > To: Liu, Chuansheng > Cc: daniel.vet...@ffwll.ch; airl...@linux.ie; > intel-...@lists.freedesktop.org; Li, > Fei; dri-devel@lists.freedesktop.org > Subject: Re: [Intel-gf

Re: [git pull] drm fixes - regular pull req

2013-07-28 Thread Jim Bos
On 07/26/2013 12:52 PM, Dave Airlie wrote: > > This is just a regular fixes pull apart from the qxl one, it has radeon > and intel bits in it, > > the intel fixes are for a regression with the RC6 fix and a 3.10 hdmi > regression, whereas radeon is more DPM fixes, a few lockup fixes and > some

[PATCH] drm/i915: Sync the hotplug work when device suspending

2013-07-28 Thread Chuansheng Liu
It is possible that during i915 device suspending with one pending hotplug work, one of cases is the device resume/suspend quickly. At this case, the hotplug work will be executed even after device is OFF, in Intel Android platform, it will cause system hang. Here we need sync the hotplug work i

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/98a75342/attachment.html>

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2013-07-28 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #1 fr

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-dae...@freedesktop.org
--- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/37f1df77/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-dae...@freedesktop.org
fine (except for the issue with hibernate/resume). -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/1818fe2a/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/b6488a71/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-dae...@freedesktop.org
.org/archives/dri-devel/attachments/20130728/6d6dd293/attachment.html>

Re: linux-next: problem fetching the drm-intel-fixes tree

2013-07-28 Thread Stephen Rothwell
Hi Dave, On Mon, 29 Jul 2013 10:15:50 +1000 Dave Airlie wrote: > > > Trying to fetch the drm-intel-fixes tree > > (git://people.freedesktop.org/~danvet/drm-intel#drm-intel-fixes) this > > morning produced this error: > > There is some issue with personal fdo repos at the moment and anon git, >

Re: linux-next: problem fetching the drm-intel-fixes tree

2013-07-28 Thread Dave Airlie
> > Trying to fetch the drm-intel-fixes tree > (git://people.freedesktop.org/~danvet/drm-intel#drm-intel-fixes) this > morning produced this error: There is some issue with personal fdo repos at the moment and anon git, I'll ask admin to look into it. Dave. __

Re: linux-next: problem fetching the drm-intel-fixes tree

2013-07-28 Thread Stephen Rothwell
On Mon, 29 Jul 2013 10:08:43 +1000 Stephen Rothwell wrote: > > Hi all, > > Trying to fetch the drm-intel-fixes tree > (git://people.freedesktop.org/~danvet/drm-intel#drm-intel-fixes) this > morning produced this error: > > fatal: remote error: access denied or repository not exported: > ~danve

linux-next: problem fetching the drm-intel-fixes tree

2013-07-28 Thread Stephen Rothwell
Hi all, Trying to fetch the drm-intel-fixes tree (git://people.freedesktop.org/~danvet/drm-intel#drm-intel-fixes) this morning produced this error: fatal: remote error: access denied or repository not exported: ~danvet/drm-intel -- Cheers, Stephen Rothwells...@canb.auug.org.a

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-dae...@freedesktop.org
iving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/ec97eefb/attachment.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #2 from Kris Scott --- Will do, gonna take some time though. Kernel compiling is not the fastest. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel ma

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
.freedesktop.org/archives/dri-devel/attachments/20130728/60028d3a/attachment.html>

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
chives/dri-devel/attachments/20130728/42f6ba46/attachment.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20130728/128be81b/attachment.html>

[Bug 67435] New: HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20130728/44020138/attachment-0001.html>

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/7ceaa1ae/attachment.html>

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2013-07-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60639 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #1 from

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #22 from Alex Deucher --- (In reply to comment #21) > Here is '/sys/kernel/debug/dri/0/radeon_pm_info' output I get: > > 1. with dpm=1 > uvdvclk: 0 dclk: 0 > power level 1sclk: 3 mclk: 40500 vddc: 900 > > 2. with

[Bug 66713] Team Fortress 2 crashes with r600-sb on HD4850

2013-07-28 Thread bugzilla-dae...@freedesktop.org
e bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/2d2784ec/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #16 from Harald Judt --- Sorry, I think I have to disappoint you, I don't think it will help with your problem; I got the wrong config without the CAYMAN_smc.bin, and it hang for a minute or so. After adding it, all worked fine (excep

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/d12f7c69/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #15 from Alexandre Demers --- (In reply to comment #14) > Please ignore my post, it was a kernel configuration problem. Got confused > by the many tests and used a wrong config... DPM works fine now, but radeon > ring 5 problem with G

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
hment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/3f1dccfd/attachment.html>

[Bug 66942] Cayman HD 6950 hangs at start when loading kernel 3.11.0-rc1 or drm-next

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #14 from Harald Judt --- Please ignore my post, it was a kernel configuration problem. Got confused by the many tests and used a wrong config... DPM works fine now, but radeon ring 5 problem with GPU stall after resuming from hibernat

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #21 from Sergey --- Here is '/sys/kernel/debug/dri/0/radeon_pm_info' output I get: 1. with dpm=1 uvdvclk: 0 dclk: 0 power level 1sclk: 3 mclk: 40500 vddc: 900 2. without dpm=1 default engine clock: 50 kHz

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/7efc6d98/attachment.html>

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/9eeae733/attachment.html>

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #24 from Joshua Cov. --- Created attachment 83125 --> https://bugs.freedesktop.org/attachment.cgi?id=83125&action=edit radeon_vram_mm WITH the patch (In reply to comment #22) > Can you give us the output of /sys/kernel/debug/dri/0/

[Bug 60639] New: RV635: Kernel displays black screen when monitor is connect via DisplayPort

2013-07-28 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=60639 Bug ID: 60639 Summary: RV635: Kernel displays black screen when monitor is connect via DisplayPort Product: Drivers Version: 2.5 Kernel Version: 3.10.3 (and earlier) Har

[PATCH] drm/cirrus: fix error handling in cirrus_device_init()

2013-07-28 Thread Wei Yongjun
From: Wei Yongjun Fix the error handling in function cirrus_device_init() to avoid resources leak in the error handling case. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/cirrus/cirrus_main.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/gpu

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #23 from Joshua Cov. --- Created attachment 83123 --> https://bugs.freedesktop.org/attachment.cgi?id=83123&action=edit radeon_vram_mm WITHOUT the patch (In reply to comment #22) > Can you give us the output of /sys/kernel/debug/dri

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #1 from Alex Deucher --- Can you bisect? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.f

[Bug 67435] New: HDMI audio silent on Radeon Mobility HD4650

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 Priority: medium Bug ID: 67435 Assignee: dri-devel@lists.freedesktop.org Summary: HDMI audio silent on Radeon Mobility HD4650 Severity: normal Classification: Unclassified OS

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #20 from Daniel --- No lucky today, all booting failed(system got hung and then the screen faded to white). -- You are receiving this mail because: You are the assignee for the bug. ___ dr

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-dae...@freedesktop.org
ou are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130728/234ed81a/attachment.html>

[Bug 66713] Team Fortress 2 crashes with r600-sb on HD4850

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66713 --- Comment #8 from Hubert Kario --- Sorry for the late reply I haven't checked exactly the patch you posted but git-e847b5a fixes the problem. Thanks! -- You are receiving this mail because: You are the assignee for the bug.

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #22 from Christian König --- Can you give us the output of /sys/kernel/debug/dri/0/radeon_vram_mm with and without the patch in question? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #21 from Joshua Cov. --- (In reply to comment #12) > (In reply to comment #11) > > The bug still appears, so this is not the faulty patch. Obviously it happens > > during cold boot, otherwise I haven't seen it. > > > > Can you help m

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #20 from Toni Ballesta --- (In reply to comment #19) > The kernel 3.11 is still beta (RC). Recommended wait for stable version, and > for 1 or 2 minor versions later if is possible. Ops, sorry, I looking on Libreoffice! :p -- You a

[Bug 67276] kernel-3.11 [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)

2013-07-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67276 --- Comment #19 from Toni Ballesta --- The kernel 3.11 is still beta (RC). Recommended wait for stable version, and for 1 or 2 minor versions later if is possible. -- You are receiving this mail because: You are the assignee for the bug. __

[PATCH] drm/i915: Sync the hotplug work when device suspending

2013-07-28 Thread Chuansheng Liu
It is possible that during i915 device suspending with one pending hotplug work, one of cases is the device resume/suspend quickly. At this case, the hotplug work will be executed even after device is OFF, in Intel Android platform, it will cause system hang. Here we need sync the hotplug work i

[Bug 60639] New: RV635: Kernel displays black screen when monitor is connect via DisplayPort

2013-07-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60639 Bug ID: 60639 Summary: RV635: Kernel displays black screen when monitor is connect via DisplayPort Product: Drivers Version: 2.5 Kernel Version: 3.10.3 (and earlier) Har