[PATCH] Fixed style issues for various nouveau files. Fix some whitespace and brace issues for the various nouveau files. I found the errors using checkpatch.pl Signed-off-by: Josiah Humphrey

2010-03-09 Thread Josiah Humphrey
--- drivers/gpu/drm/nouveau/nouveau_acpi.c |5 ++--- drivers/gpu/drm/nouveau/nouveau_bios.c | 28 +--- drivers/gpu/drm/nouveau/nouveau_gem.c |2 +- drivers/gpu/drm/nouveau/nouveau_grctx.h | 10 +- drivers/gpu/drm/nouveau/nouveau_hw.h|2 +- dr

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread Paul Mundt
On Tue, Mar 09, 2010 at 10:08:28PM +0100, Rafael J. Wysocki wrote: > On Tuesday 09 March 2010, James Simmons wrote: > > > > > > > Second, in the KMS case, we'd be able to skip the kernel VT switch, > > > > > because > > > > > the KMS driver uses its own framebuffer anyway. > > > > > > > > > > So,

[Bug 15181] Radeon: *ERROR* Unable to locate a BIOS ROM

2010-03-09 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15181 Alex Deucher changed: What|Removed |Added CC||[email protected] --- Comment #1 fr

[Bug 15181] Radeon: *ERROR* Unable to locate a BIOS ROM

2010-03-09 Thread bugzilla-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=15181 Matteo changed: What|Removed |Added Kernel Version|2.6.33-rc6 |2.6.34-rc1 -- Configure bugmail: http://bugz

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26639 --- Comment #15 from Tobias Jakobi 2010-03-09 14:35:28 PST --- Yeah, you're right - it picks the 60Hz. Looks like I have to manually edit the INI to let it choose the 85Hz mode. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread Rafael J. Wysocki
On Tuesday 09 March 2010, James Simmons wrote: > > > > > Second, in the KMS case, we'd be able to skip the kernel VT switch, > > > > because > > > > the KMS driver uses its own framebuffer anyway. > > > > > > > > So, is there any reasonable way to check that from the outside of the > > > > graph

[Bug 26641] RV730 agp xf86-video-ati with kms poor performance

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26641 Alex Deucher changed: What|Removed |Added CC||[email protected]

[Bug 26816] AGP KMS x11 video perf problem.

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26816 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: savage4 crashes

2010-03-09 Thread Piotr Gluszenia Slawinski
On Tue, 9 Mar 2010, Piotr Gluszenia Slawinski wrote: > > On Tue, 9 Mar 2010, James Simmons wrote: > >> >>> i've tried to run this old X server with new (2.6.32) kernel >>> >>> here is log from startup : >>> >>> http://83.18.229.190/Xorg/Xorg.0.log.old_X_new_kernel >>> >>> what is stunning - DRI wo

[Bug 24973] [r300 KMS] KMS uses wrong display resulution, xrandr causes X to crash

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24973 --- Comment #10 from Marius Groeger 2010-03-09 09:12:41 PST --- Thanks for clearing this up, Daniel. Seems I have to take it from here on my own, as the issue is definitely present with 2.6.33 on my r300 (Thinkpad T43). -- Configure bugma

Re: savage4 crashes

2010-03-09 Thread Piotr Gluszenia Slawinski
On Tue, 9 Mar 2010, James Simmons wrote: > >> i've tried to run this old X server with new (2.6.32) kernel >> >> here is log from startup : >> >> http://83.18.229.190/Xorg/Xorg.0.log.old_X_new_kernel >> >> what is stunning - DRI works , and i get stunning 360fps >> with gears turning _smoothly_ i

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread James Simmons
> > > Second, in the KMS case, we'd be able to skip the kernel VT switch, > > > because > > > the KMS driver uses its own framebuffer anyway. > > > > > > So, is there any reasonable way to check that from the outside of the > > > graphics > > > driver? It should be general enough to cover the c

Re: savage4 crashes

2010-03-09 Thread James Simmons
> i've tried to run this old X server with new (2.6.32) kernel > > here is log from startup : > > http://83.18.229.190/Xorg/Xorg.0.log.old_X_new_kernel > > what is stunning - DRI works , and i get stunning 360fps > with gears turning _smoothly_ in glxgears. > > downsides - switching to VT does

[Bug 24973] [r300 KMS] KMS uses wrong display resulution, xrandr causes X to crash

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24973 --- Comment #7 from Daniel 2010-03-09 06:49:10 PST --- (In reply to comment #4) > Is this still an issue with 2.6.33 or drm-next? Nope. For me the TV-out/xrandr issue seems to be fixed. By now I am using 2.6-master, mesa-master, radeon-maste

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26639 --- Comment #13 from Tobias Jakobi 2010-03-09 07:04:34 PST --- A funny (maybe significant?) detail: ut2003 works in 1024x768 mode - my guess is that it's not using xrandr to switch the res but the old method, I think it was via XVidMode --

[Bug 24973] [r300 KMS] KMS uses wrong display resulution, xrandr causes X to crash

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24973 --- Comment #9 from Daniel 2010-03-09 07:48:38 PST --- (In reply to comment #8) > Daniel, your reply is confusing, since it seems to still /be/ an issue with > 2.6.33. Have you tried that kernel before switching to 2.6-master? I did not try

Improved GPU reset

2010-03-09 Thread Jerome Glisse
This serie of patch fix the shortcoming of the previous one, their shouldn't be any more false positive and resume should lead to infinite look or other reinitialization issue on r6xx/r7xx. Cheers, Jerome -- Download Int

[PATCH 2/3] drm/radeon/kms: rename gpu_reset to asic_reset

2010-03-09 Thread Jerome Glisse
Patch rename gpu_reset to asic_reset in prevision of having gpu_reset doing more stuff than just basic asic reset. Signed-off-by: Jerome Glisse --- drivers/gpu/drm/radeon/evergreen.c |2 +- drivers/gpu/drm/radeon/r100.c |6 ++-- drivers/gpu/drm/radeon/r300.c |6

[PATCH 3/3] drm/radeon/kms: simplify & improve GPU reset V2

2010-03-09 Thread Jerome Glisse
This simplify and improve GPU reset for R1XX-R6XX hw, it's not 100% reliable here are result: - R1XX/R2XX works bunch of time in a row, sometimes it seems it can work indifinitly - R3XX/R3XX the most unreliable one, sometimes you will be able to reset few times, sometimes not even once - R5XX m

[PATCH 1/3] drm/radeon/kms: fence cleanup + more reliable GPU lockup detection V4

2010-03-09 Thread Jerome Glisse
This patch cleanup the fence code, it drops the timeout field of fence as the time to complete each IB is unpredictable and shouldn't be bound. The fence cleanup lead to GPU lockup detection improvement, this patch introduce a callback, allowing to do asic specific test for lockup detection. In th

[Bug 26639] [radeon KMS] switching to res 1024x768 kills output

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26639 --- Comment #14 from Alex Deucher 2010-03-09 07:11:22 PST --- (In reply to comment #13) > A funny (maybe significant?) detail: > ut2003 works in 1024x768 mode - my guess is that it's not using xrandr to > switch the res but the old method, I

[Bug 26496] OpenGL does not work on Radeon 9600 (r300)

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26496 --- Comment #12 from Michel Dänzer 2010-03-09 07:01:40 PST --- (In reply to comment #11) > Failed to free bo[(address)] at 8000 > ret = Operation not permitted > > I'm not sure if it's related, but I figured it was worth mentioning sinc

[Bug 25741] [R600/KMS] external display flickering

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25741 Alex Deucher changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] fix nv30 build

2010-03-09 Thread okias
>From eff99b0788d4a2fd6cd4adaa7b10ccb9b201b2d3 Mon Sep 17 00:00:00 2001 From: David Heidelberger Date: Tue, 9 Mar 2010 13:50:27 +0100 Subject: [PATCH] nv30: fix typo Signed-off-by: David Heidelberger --- src/gallium/drivers/nv30/nv30_miptree.c |2 +- 1 files changed, 1 insertions(+), 1 del

[Bug 26496] OpenGL does not work on Radeon 9600 (r300)

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26496 --- Comment #11 from Joseph Jezak 2010-03-09 04:40:18 PST --- Created an attachment (id=33889) --> (http://bugs.freedesktop.org/attachment.cgi?id=33889) X log, after startup and some usage including sleep/wake I'm also seeing messages like

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread Rafał Miłecki
2010/3/9 Rafael J. Wysocki : > On Tuesday 09 March 2010, Luca Tettamanti wrote: >> I'm note sure how to check that a device is graphic card though :| > > Well, that's the "outside of the graphics driver" part of my question. :-) Can we use the same way userspace (DDX) uses to check for KMS? Some I

[Bug 26496] OpenGL does not work on Radeon 9600 (r300)

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26496 --- Comment #10 from Michel Dänzer 2010-03-09 03:37:06 PST --- (In reply to comment #9) > If you'd still like my Xorg log, please let me know. Yes please. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ---

[PATCH] drm/radeon/kms: further spread spectrum fixes

2010-03-09 Thread Alex Deucher
>From ae937bceef62997a63140abb5208d33f3b6ac13c Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 8 Mar 2010 17:10:41 -0500 Subject: [PATCH] drm/radeon/kms: further spread spectrum fixes Adjust modeset ordering to fix spread spectrum. The spread spectrum command table relies on the crtc routi

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread Luca Tettamanti
On Sat, Mar 6, 2010 at 10:36 PM, Rafael J. Wysocki wrote: > Hi, > > For at least two reasons it would be beneficial for some code outisde the > graphics driver(s) to know if the KMS are used. > > First, in the non-KMS (ie. UMS) case we probably wouldn't want to call > acpi_video_resume(), because

Re: [PATCH 2/6 V2] drm/radeon/kms: clean assigning HDMI blocks to encoders

2010-03-09 Thread Mike Lothian
2010/3/8 Rafał Miłecki : > We almost always used first HDMI block for first encoder and second for > sencod. > Exception was KLDSCP_LVTMA. Analyzing code picking DIG encoder shows the same > behaviour. It shows HDMI block are related to DIGs, which relation we now use. > > Signed-off-by: Rafał Mił

Re: savage4 crashes

2010-03-09 Thread Piotr Gluszenia Slawinski
-- On Mon, 8 Mar 2010, Alex Deucher wrote: > On Mon, Mar 8, 2010 at 12:42 PM, Piotr Gluszenia Slawinski > wrote: >> i have dual head sa(l)vage(d) MX card. >> >> it works only in vesa mode, or with dri disabled. >> >> i am trying latest Xorg and mesa avail from gentoo ebuilds. >> >> also Xv do

[Bug 24973] [r300 KMS] KMS uses wrong display resulution, xrandr causes X to crash

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24973 --- Comment #8 from Marius Groeger 2010-03-09 07:19:18 PST --- > > Is this still an issue with 2.6.33 or drm-next? > Nope. For me the TV-out/xrandr issue seems to be fixed. By now I am using > 2.6-master, mesa-master, radeon-master and libdr

[Bug 26954] [bisected regression] sauerbraten asserts with: Assertion `code->inst_end >= 0' failed.

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26954 --- Comment #1 from Fabio Pedretti 2010-03-09 03:18:36 PST --- Created an attachment (id=33888) --> (http://bugs.freedesktop.org/attachment.cgi?id=33888) sauerbraten backtrace Note that shaders have to be enabled in the game to get the ass

Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver

2010-03-09 Thread Rafael J. Wysocki
On Tuesday 09 March 2010, Luca Tettamanti wrote: > On Sat, Mar 6, 2010 at 10:36 PM, Rafael J. Wysocki wrote: > > Hi, > > > > For at least two reasons it would be beneficial for some code outisde the > > graphics driver(s) to know if the KMS are used. > > > > First, in the non-KMS (ie. UMS) case we

[Bug 25741] [R600/KMS] external display flickering

2010-03-09 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25741 --- Comment #23 from Luca Tettamanti 2010-03-09 01:50:32 PST --- (In reply to comment #22) > Created an attachment (id=33870) --> (http://bugs.freedesktop.org/attachment.cgi?id=33870) [details] > fix spread spectrum > > This should do the