Re: [Nouveau] Clean up of nv40_context-state.hw and nv40_screen-state

2009-12-21 Thread Krzysztof Smiechowicz
Krzysztof Smiechowicz pisze: Hi, I'm trying to find a place where objects held in nv40_context-state.hw[] and nv40_screen-state[] are being unreferenced during pipe_context destruction. Currently I'm observing that these objects are not unreferenced and since they hold reference to

Re: [Nouveau] [PATCH] drm/nouveau: always do buffer object moves on bo-channel

2009-12-21 Thread Maarten Maathuis
This should also avoid being able to dma into ramin, which was the primary concern darktama had about this patch. Actually this could already be done on the user channel, because the vm contained all the vram pages. Makes me wonder why we weren't overwriting ramin sometimes. On Mon, Dec 21, 2009

Re: [Nouveau] [PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped

2009-12-21 Thread Maarten Maathuis
On Mon, Dec 21, 2009 at 11:25 AM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: On 12/20/2009 04:46 PM, Maarten Maathuis wrote: - This avoids problematic reloc'ed while mapped messages and some associated corruption as well. - Also add one nouveau_bo_unmap() in the vbo code that

[Nouveau] [PATCH 1/2] Unreference state/buffer objects on context/screen destruction

2009-12-21 Thread Krzysztof Smiechowicz
- unreference state objects so that buffer objects are unreferenced and eventually destroyed - free channel at screen's destruction Index: nv50/nv50_screen.c === --- nv50/nv50_screen.c (wersja 32083) +++ nv50/nv50_screen.c (kopia

[Nouveau] [PATCH 2/2] libdrm: Unreference pushbuf objects on channel destruction

2009-12-21 Thread Krzysztof Smiechowicz
- unreference pushbuf objects on channel destruction Index: nouveau/nouveau_pushbuf.c === --- nouveau/nouveau_pushbuf.c (wersja 32082) +++ nouveau/nouveau_pushbuf.c (kopia robocza) @@ -262,6 +262,12 @@ return 0; }

Re: [Nouveau] [PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped

2009-12-21 Thread Younes Manton
On Mon, Dec 21, 2009 at 8:48 AM, Maarten Maathuis madman2...@gmail.com wrote: On Mon, Dec 21, 2009 at 11:25 AM, Christoph Bumiller e0425...@student.tuwien.ac.at wrote: On 12/20/2009 04:46 PM, Maarten Maathuis wrote: - This avoids problematic reloc'ed while mapped messages and some associated

[Nouveau] [PATCH] nouveau: when nouveau_bo_map fails you except it to not be mapped

2009-12-21 Thread Maarten Maathuis
--- nouveau/nouveau_bo.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/nouveau/nouveau_bo.c b/nouveau/nouveau_bo.c index 10cc8a6..9d584a3 100644 --- a/nouveau/nouveau_bo.c +++ b/nouveau/nouveau_bo.c @@ -444,8 +444,10 @@ nouveau_bo_map_range(struct nouveau_bo *bo,

[Nouveau] [Bug 24996] Wrong display resolution in X, windowed console. FX 5600 XT

2009-12-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24996 --- Comment #28 from Maarten Maathuis madman2...@gmail.com 2009-12-21 12:00:45 PST --- nv43_tvdac_load_2.patch seems to work on a nv43, didn't test with tvout connected. -- Configure bugmail:

Re: [Nouveau] [PATCH] drm/nouveau: fix fillrect color on nv50

2009-12-21 Thread Ben Skeggs
On Mon, 2009-12-21 at 23:00 +0100, Marcin Slusarz wrote: struct fb_fillrect-color is not a color, but index into pseudo_palette array Thanks, applied to git. Ben. Signed-off-by: Marcin Slusarz marcin.slus...@gmail.com --- drivers/gpu/drm/nouveau/nv50_fbcon.c |3 ++- 1 files changed, 2

[Nouveau] [Bug 24996] Wrong display resolution in X, windowed console. FX 5600 XT

2009-12-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24996 Francisco Jerez curroje...@riseup.net changed: What|Removed |Added Status|NEW |RESOLVED

[Nouveau] [Bug 25754] New: Nouveau - GPU Lockup on 2.6.33-rc1

2009-12-21 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25754 Summary: Nouveau - GPU Lockup on 2.6.33-rc1 Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: critical Priority:

[Nouveau] [TEST REQUEST] NV50/NV8x/NV9x ctxprog and ctxvals generator

2009-12-21 Thread Marcin Koƛcielnicki
So, I wrote a generator for ctxprogs on NV50, NV84, NV86, NV92, NV94, NV96, NV98. Atm it's only tested with NV86 and I'd like to see if it works for all the other cards, especially NV50. NVAx support is still missing due to some differences, but should be coming soon. Address is