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

2013-07-29 Thread Dave Airlie
On Mon, Jul 29, 2013 at 10:46 PM, Takashi Iwai wrote: > At Mon, 29 Jul 2013 16:06:59 +1000, > Dave Airlie wrote: >> >> 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

Re: [PATCH 1/3] drm/nouveau: fix vblank interrupt being called before event is setup

2013-07-29 Thread Ben Skeggs
On Tue, Jul 30, 2013 at 4:10 PM, Maarten Lankhorst wrote: > Op 30-07-13 04:42, Ben Skeggs schreef: >> On Tue, Jul 23, 2013 at 11:43 PM, Maarten Lankhorst >> wrote: >>> Sort of fixes mmiotrace for me again, I could sear I sent a similar patch >>> before >>> the rework to event interface, so I gue

Re: [PATCH 1/3] drm/nouveau: fix vblank interrupt being called before event is setup

2013-07-29 Thread Maarten Lankhorst
Op 30-07-13 04:42, Ben Skeggs schreef: > On Tue, Jul 23, 2013 at 11:43 PM, Maarten Lankhorst > wrote: >> Sort of fixes mmiotrace for me again, I could sear I sent a similar patch >> before >> the rework to event interface, so I guess it got reintroduced. > I don't know how/why you think this fixe

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/ff0004f9/attachment.html>

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-07-29 Thread Seung-Woo Kim
Hi Rahul, On 2013년 07월 30일 12:42, Rahul Sharma wrote: > > > On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I > wrote: > > Hi, > > On Tuesday 18 June 2013 03:33 PM, Rahul Sharma wrote: > > Thanks all, > > > > On Fri, Jun 14, 2013 at 11:39 AM, 김승

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/3dcedacf/attachment.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/841847a9/attachment-0001.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/e3448551/attachment.html>

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-07-29 Thread Rahul Sharma
On Tue, Jul 30, 2013 at 10:37 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 30 July 2013 09:12 AM, Rahul Sharma wrote: > > > > > > On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I > > wrote: > > > > Hi, > > > > On Tuesday 18 June 2013 03:33 PM, Rahul

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20130729/ab5f7ef4/attachment.html>

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-07-29 Thread Kishon Vijay Abraham I
Hi, On Tuesday 30 July 2013 09:12 AM, Rahul Sharma wrote: > > > On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I > wrote: > > Hi, > > On Tuesday 18 June 2013 03:33 PM, Rahul Sharma wrote: > > Thanks all, > > > > On Fri, Jun 14, 2013 at 11:39 AM

[PATCH] Fix #include in drm_mm.h to unbreak ia64 build

2013-07-29 Thread Luck, Tony
Linux-next build on ia64 is falling over with errors like this: In file included from include/drm/drm_vma_manager.h:26, from include/drm/ttm/ttm_bo_api.h:35, from include/drm/ttm/ttm_bo_driver.h:33, from drivers/gpu/drm/ttm/ttm_agp_backend.c:35: i

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Eric W. Biederman
Alex Deucher writes: > On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman > wrote: >> >> >> Alex Deucher wrote: >>>On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >>> wrote: On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Eric W. Biederman
Alex Deucher wrote: >On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf > wrote: >> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >>> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >>> wrote: >>> > On my test machine Xorg doesn't start anymore when I kexec into a >>> > 3.11.0-rc3 k

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Joshua C.
2013/7/29 Alex Deucher : > On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf > wrote: >> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >>> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >>> wrote: >>> > On my test machine Xorg doesn't start anymore when I kexec into a >>> > 3.11.0-r

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 15:53 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 2:10 PM, Eric W. Biederman > wrote: > > Alex Deucher writes: > > > >> On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman > >> wrote: > >>> > >>> > >>> Alex Deucher wrote: > On Mon, Jul 29, 2013 at 10:09 AM, Markus

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

2013-07-29 Thread Hohahiu
Hello, Dave! I have a hybrid muxless laptop with intel+radeon: #lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series] I

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

2013-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #2 from Alex Deucher --- Created attachment 107040 --> https://bugzilla.kernel.org/attachment.cgi?id=107040&action=edit possible fix The attached patch should fix the issue. -- You are receiving this mail because: You are watching

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

2013-07-29 Thread Dave Airlie
On Tue, Jul 30, 2013 at 11:50 AM, Hohahiu wrote: > Hello, Dave! > > I have a hybrid muxless laptop with intel+radeon: > #lspci | grep VGA > 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor > Graphics Controller (rev 09) > 01:00.0 VGA compatible controller: Advanced Micro

[3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-07-29 Thread Dave Jones
On Mon, Jun 17, 2013 at 09:49:27PM -0400, David Airlie wrote: > > > Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau > > loaded. > > (Note, no X running on that box) > > > > Trace below shows trinity, but I can reproduce it with just cat > > /proc/dri/0/vma > >

Re: [RFC 0/2] exynos5250/hdmi: replace dummy hdmiphy clock with pmu reg control

2013-07-29 Thread Rahul Sharma
On Tue, Jun 18, 2013 at 5:07 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 18 June 2013 03:33 PM, Rahul Sharma wrote: > > Thanks all, > > > > On Fri, Jun 14, 2013 at 11:39 AM, 김승우 wrote: > >> Hello Kishon, > >> > >> On 2013년 06월 13일 21:54, Kishon Vijay Abraham I wrote: > >>> Hi, > >>> >

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #25 from Alex Deucher --- Created attachment 83258 --> https://bugs.freedesktop.org/attachment.cgi?id=83258&action=edit use alternate fb_div scale Another patch to test. -- You are receiving this mail because: You are the assigne

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #24 from Alex Deucher --- Created attachment 83257 --> https://bugs.freedesktop.org/attachment.cgi?id=83257&action=edit disable lvtma resync Another patch to test. -- You are receiving this mail because: You are the assignee for

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #19 from Alex Deucher --- Does booting a recent 3.11rc kernel with radeon.aspm=0 help? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #18 from Alex Deucher --- (In reply to comment #17) > Alex, is there a chance for me to reverse some commits prior to 69e0b57 to > find which one or which feature is hanging my computer? Any approach I > should try? I'm not really su

Re: [PATCH 1/3] drm/nouveau: fix vblank interrupt being called before event is setup

2013-07-29 Thread Ben Skeggs
On Tue, Jul 23, 2013 at 11:43 PM, Maarten Lankhorst wrote: > Sort of fixes mmiotrace for me again, I could sear I sent a similar patch > before > the rework to event interface, so I guess it got reintroduced. I don't know how/why you think this fixes anything. The interrupt handler can't possibl

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66942 --- Comment #17 from Alexandre Demers --- Alex, is there a chance for me to reverse some commits prior to 69e0b57 to find which one or which feature is hanging my computer? Any approach I should try? -- You are receiving this mail because: You

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

2013-07-29 Thread Hohahiu
Hello, Dave! I have a hybrid muxless laptop with intel+radeon: #lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series]

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/4dc88e8e/attachment.html>

[Bug 67107] Xorg starts and crashes with DPM enable

2013-07-29 Thread bugzilla-dae...@freedesktop.org
... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/03a42ad8/attachment.html>

[Bug 66067] Trine 2's fragment normal buffer is mixtextured on Radeon HD 6770 (Juniper)

2013-07-29 Thread bugzilla-dae...@freedesktop.org
<http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/7c7c7000/attachment-0001.html>

[pull] radeon drm-fixes-3.11

2013-07-29 Thread alexdeuc...@gmail.com
From: Alex Deucher Hi Dave, A few more radeon bug fixes, mostly for SI dpm. At this point dpm is pretty solid across the majority of asics. I think we mostly just have corner cases and fixing up some of the trickier features at this point. The following changes since commit bf903e4141fce4b350

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 18:14 +0200, Joshua C. wrote: > > This error message seems similar to mine "[drm:r600_uvd_ring_test] > *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)" Bugzilla: > https://bugs.freedesktop.org/show_bug.cgi?id=67276 In my case I blame > another commit for this. Are these bugs relat

[Bug 60381] AMD Radeon 7770 Ghz edition Crash with DPM active

2013-07-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60381 --- Comment #34 from rafael castillo --- tested with today drm-fixes patches and its reclocking like a boss and xonotic passed from 30 FPS to an massive 190FPS in ultimate at 1366x768. i read you need some fixes for other part of asic for later so

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Joshua C.
2013/7/29 Alex Deucher : > On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf > wrote: >> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >>> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >>> wrote: >>> > On my test machine Xorg doesn't start anymore when I kexec into a >>> > 3.11.0-r

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20130729/f3fa47dc/attachment.html>

Re: [3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-07-29 Thread Dave Jones
On Mon, Jun 17, 2013 at 09:49:27PM -0400, David Airlie wrote: > > > Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau > > loaded. > > (Note, no X running on that box) > > > > Trace below shows trinity, but I can reproduce it with just cat > > /proc/dri/0/vma > >

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/37393ece/attachment.html>

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

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #23 from Alex Deucher --- Created attachment 83246 --> https://bugs.freedesktop.org/attachment.cgi?id=83246&action=edit hacks to test That attached patch disables some options in the dpm driver. See if it helps at all. Make sure

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/cac4ae74/attachment.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
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/20130729/fff46053/attachment.html>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
a723f4928d1a20bcd0b5759077360f9342c9eecc Mdrivers -- 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/20130729/e1e0c32b/attachm

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

2013-07-29 Thread Stephen Rothwell
ilable Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/3702faca/attachment-0001.pgp>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #14 from Alex Deucher --- Can you boot back into the broken state and try this alternative fix: avivotool regset 0x7344 0x0170 -- You are receiving this mail because: You are the assignee for the bug. ___

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

2013-07-29 Thread Dave Airlie
On Mon, Jul 29, 2013 at 10:26 AM, Stephen Rothwell wrote: > 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

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #13 from Kris Scott --- That is also after I had changed the registers that Rafal asked me to change, if it makes any difference. -- You are receiving this mail because: You are the assignee for the bug.

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf > wrote: > > On my test machine Xorg doesn't start anymore when I kexec into a > > 3.11.0-rc3 kernel. > > With kexec, dpm doesn't get torn down properly which can result in a > bad hardware st

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #12 from Kris Scott --- 0x73400x001b0018 (1769496) 0x73440x0070 (112) 0x5200x0070 (112) 0x5300x0070 (112) -- You are receiving this mail because: You are the assignee for the bug.

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

2013-07-29 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-29 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 2/4] drm: allow open of dynamic off devices.

2013-07-29 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_fops.c | 2 +- include/drm/drmP.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 3a24385..d5429ee 100644 --- a/drivers/gpu/drm/drm_fop

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

2013-07-29 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

nouveau optimus dynamic power off

2013-07-29 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=

[RFC PATCH] fence: dma-buf cross-device synchronization (v12)

2013-07-29 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering. T

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #11 from Alex Deucher --- Can you tell be the values of 0x7340, 0x7344, 0x520, and 0x530? avivotool regmatch 0x7340 avivotool regmatch 0x7344 avivotool regmatch 0x520 avivotool regmatch 0x530 -- You are receiving this mail because:

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 2:10 PM, Eric W. Biederman wrote: > Alex Deucher writes: > >> On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman >> wrote: >>> >>> >>> Alex Deucher wrote: On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf wrote: > On 2013.07.29 at 09:58 -0400, Alex Deuc

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #10 from Kris Scott --- Yes, those fixed it. Thank you very much. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-devel@lists.freed

[pull] radeon drm-fixes-3.11

2013-07-29 Thread alexdeucher
From: Alex Deucher Hi Dave, A few more radeon bug fixes, mostly for SI dpm. At this point dpm is pretty solid across the majority of asics. I think we mostly just have corner cases and fixing up some of the trickier features at this point. The following changes since commit bf903e4141fce4b350

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

2013-07-29 Thread Takashi Iwai
At Mon, 29 Jul 2013 16:06:59 +1000, Dave Airlie wrote: > > 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 enab

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman wrote: > > > Alex Deucher wrote: >>On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >> wrote: >>> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf wrote: > On my test mac

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 12:14 PM, Joshua C. wrote: > 2013/7/29 Alex Deucher : >> On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >> wrote: >>> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf wrote: > On my test machine X

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 15:53 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 2:10 PM, Eric W. Biederman > wrote: > > Alex Deucher writes: > > > >> On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman > >> wrote: > >>> > >>> > >>> Alex Deucher wrote: > On Mon, Jul 29, 2013 at 10:09 AM, Markus

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 2:10 PM, Eric W. Biederman wrote: > Alex Deucher writes: > >> On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman >> wrote: >>> >>> >>> Alex Deucher wrote: On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf wrote: > On 2013.07.29 at 09:58 -0400, Alex Deuc

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #9 from Rafał Miłecki --- @Kris: thank you for you debugging! I hope this is last debugging request. Can you boot not working (bad) kernel, connect HDMI display and then type: avivotool regset 0x0524 0x00249f00 avivotool regset 0x05

[Bug 67107] Xorg starts and crashes with DPM enable

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67107 --- Comment #3 from Christopher Chmielewski --- I just tried with rc3 and it still happens. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list dri-dev

[PATCH] drm/nouveau: protect vm refcount with mutex

2013-07-29 Thread Maarten Lankhorst
The refcount was not protected by the vm lock, fix this.. [ cut here ] WARNING: CPU: 2 PID: 2008 at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x4f/0x56 [nouveau]() Modules linked in: adt7475 ebtable_nat ebtables nouveau ipt_MASQUERADE iptable_nat nf_nat_i

[PATCH] Fix #include in drm_mm.h to unbreak ia64 build

2013-07-29 Thread Luck, Tony
Linux-next build on ia64 is falling over with errors like this: In file included from include/drm/drm_vma_manager.h:26, from include/drm/ttm/ttm_bo_api.h:35, from include/drm/ttm/ttm_bo_driver.h:33, from drivers/gpu/drm/ttm/ttm_agp_backend.c:35: i

[Bug 66067] Trine 2's fragment normal buffer is mixtextured on Radeon HD 6770 (Juniper)

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66067 Nicholas Miell changed: What|Removed |Added Summary|Trine 2 color problems on |Trine 2's fragment normal

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #8 from Kris Scott --- Oops, sorry, here you go. Good: Audio clocks: R600_AUDIO_PLL1_MUL R600_AUDIO_PLL1_DIV R600_AUDIO_PLL2_MUL00249f00 R600_AUDIO_PLL2_DIV00714be8 R600_AUDIO_CLK_SRCSEL0001

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Eric W. Biederman
Alex Deucher writes: > On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman > wrote: >> >> >> Alex Deucher wrote: >>>On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >>> wrote: On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 11:50 AM, Eric W. Biederman wrote: > > > Alex Deucher wrote: >>On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >> wrote: >>> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf wrote: > On my test mac

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 12:14 PM, Joshua C. wrote: > 2013/7/29 Alex Deucher : >> On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf >> wrote: >>> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf wrote: > On my test machine X

[RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-07-29 Thread Rob Clark
On Fri, Jul 26, 2013 at 11:58 AM, Tom Cooksey wrote: > Hi Rob, > >> > * It abuses flags parameter of DRM_IOCTL_MODE_CREATE_DUMB to also >> >allocate buffers for the GPU. Still not sure how to resolve this >> >as we don't use DRM for our GPU driver. >> >> any thoughts/plans about a DRM GPU

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #7 from Rafał Miłecki --- Err, did you call "avivotool regs hdmi" as I asked? It should return something like: Audio clocks: EVERGREEN_AUDIO_PLL1_MUL EVERGREEN_AUDIO_PLL1_DIV0001 EVERGREEN_AUDIO_PLL1_UNK

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

2013-07-29 Thread Stephen Rothwell
e: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/b210386c/attachment.pgp>

[GIT PULL] exynos-drm-fixes

2013-07-29 Thread inki . dae
Hi Dave, This pull request fixes module build and g2d clock control issues, and includes related cleanup. Please kindly let me know if there is any problem. Thanks, Inki Dae The following changes since commit bf903e4141fce4b35072d5b8fa0ddd299aaf01ea: Merge tag 'drm-intel-fixes-2013-07-2

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf wrote: > On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >> wrote: >> > On my test machine Xorg doesn't start anymore when I kexec into a >> > 3.11.0-rc3 kernel. >> >> With kexec, dpm d

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

2013-07-29 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.

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

2013-07-29 Thread Stephen Rothwell
au -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/026d726d/attachment.pgp>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #6 from Kris Scott --- Good: RADEON_DAC_CNTL RADEON_DAC_EXT_CNTL RADEON_DAC_MACRO_CNTL RADEON_DAC_CNTL2 RADEON_TV_DAC_CNTL RADEON_DISP_OUTPUT_CNTL RADEON_CONFIG_

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

2013-07-29 Thread Stephen Rothwell
canb.auug.org.au -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/7159b427/attachment.pgp>

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #5 from Rafał Miłecki --- As I suggested earlier, can you provide output of "avivotool regs hdmi" before and after this patch? This way we will sure if registers are programmed and with what values. -- You are receiving this mail b

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
s Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/06e052cb/attachment.patch>

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On my test machine Xorg doesn't start anymore when I kexec into a 3.11.0-rc3 kernel. On cold boot everything is fine: [drm] Initialized drm 1.1.0 20060810 [drm] radeon kernel modesetting enabled. [drm] initializing kernel modesetting (RS780 0x1002:0x9614 0x1043:0x834D). [drm] register mmio base: 0

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67435 --- Comment #4 from Kris Scott --- Bisect complete: b1f6f47e3e33c4a74534f1301aca241ffabbb3a0 is the first bad commit commit b1f6f47e3e33c4a74534f1301aca241ffabbb3a0 Author: Alex Deucher Date: Thu Apr 18 10:50:55 2013 -0400 drm/radeon: cl

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 18:14 +0200, Joshua C. wrote: > > This error message seems similar to mine "[drm:r600_uvd_ring_test] > *ERROR* radeon: ring 5 test failed (0xCAFEDEAD)" Bugzilla: > https://bugs.freedesktop.org/show_bug.cgi?id=67276 In my case I blame > another commit for this. Are these bugs relat

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Eric W. Biederman
Alex Deucher wrote: >On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf > wrote: >> On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >>> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >>> wrote: >>> > On my test machine Xorg doesn't start anymore when I kexec into a >>> > 3.11.0-rc3 k

Re: [RFC 0/1] drm/pl111: Initial drm/kms driver for pl111

2013-07-29 Thread Rob Clark
On Fri, Jul 26, 2013 at 11:58 AM, Tom Cooksey wrote: > Hi Rob, > >> > * It abuses flags parameter of DRM_IOCTL_MODE_CREATE_DUMB to also >> >allocate buffers for the GPU. Still not sure how to resolve this >> >as we don't use DRM for our GPU driver. >> >> any thoughts/plans about a DRM GPU

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 10:09 AM, Markus Trippelsdorf wrote: > On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: >> On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf >> wrote: >> > On my test machine Xorg doesn't start anymore when I kexec into a >> > 3.11.0-rc3 kernel. >> >> With kexec, dpm d

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On 2013.07.29 at 09:58 -0400, Alex Deucher wrote: > On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf > wrote: > > On my test machine Xorg doesn't start anymore when I kexec into a > > 3.11.0-rc3 kernel. > > With kexec, dpm doesn't get torn down properly which can result in a > bad hardware st

[RFC PATCH] fence: dma-buf cross-device synchronization (v12)

2013-07-29 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering. T

Re: Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Alex Deucher
On Mon, Jul 29, 2013 at 3:51 AM, Markus Trippelsdorf wrote: > On my test machine Xorg doesn't start anymore when I kexec into a > 3.11.0-rc3 kernel. With kexec, dpm doesn't get torn down properly which can result in a bad hardware state when the driver loads again. Does the attached patch help?

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

2013-07-29 Thread Takashi Iwai
At Mon, 29 Jul 2013 16:06:59 +1000, Dave Airlie wrote: > > 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 enab

[Bug 67435] HDMI audio silent on Radeon Mobility HD4650

2013-07-29 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130729/926c5637/attachment.html>

[PATCH] drm/nouveau: protect vm refcount with mutex

2013-07-29 Thread Maarten Lankhorst
The refcount was not protected by the vm lock, fix this.. [ cut here ] WARNING: CPU: 2 PID: 2008 at drivers/gpu/drm/nouveau/core/core/mm.c:242 nouveau_mm_fini+0x4f/0x56 [nouveau]() Modules linked in: adt7475 ebtable_nat ebtables nouveau ipt_MASQUERADE iptable_nat nf_nat_i

Commit f5d9b7f0f9 (fix r600_enable_sclk_control()) causes kexec issues

2013-07-29 Thread Markus Trippelsdorf
On my test machine Xorg doesn't start anymore when I kexec into a 3.11.0-rc3 kernel. On cold boot everything is fine: [drm] Initialized drm 1.1.0 20060810 [drm] radeon kernel modesetting enabled. [drm] initializing kernel modesetting (RS780 0x1002:0x9614 0x1043:0x834D). [drm] register mmio base: 0

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

2013-07-29 Thread Stephen Rothwell
Hi Dave, On Mon, 29 Jul 2013 16:29:04 +1000 Dave Airlie wrote: > > Okay should all be back in place now. Excellent, thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp3VeuvCymK5.pgp Description: PGP signature ___ dri-de

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

2013-07-29 Thread Dave Airlie
On Mon, Jul 29, 2013 at 10:26 AM, Stephen Rothwell wrote: > 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

[PATCH 2/4] drm: allow open of dynamic off devices.

2013-07-29 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_fops.c | 2 +- include/drm/drmP.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c index 3a24385..d5429ee 100644 --- a/drivers/gpu/drm/drm_fop