Lockdep splat in nouveau, 2.6.37-rc1+

2010-11-04 Thread Phil Turmel
t-unspecified text was scrubbed... Name: nouveau-lockup-2.6.37-rc1+.dmesg URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20101104/b7f5fdf6/attachment-0001.asc> -- next part -- An embedded and charset-unspecified text was scrubbed... Name: conf

[PATCH 10/49] drivers/gpu: Use vzalloc

2010-11-04 Thread Joe Perches
Signed-off-by: Joe Perches --- drivers/gpu/drm/via/via_dmablit.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/via/via_dmablit.c b/drivers/gpu/drm/via/via_dmablit.c index 9b5b4d9..3e038a3 100644 --- a/drivers/gpu/drm/via/via_dmablit.c +++ b/drivers/g

[PATCH 10/49] drivers/gpu: Use vzalloc

2010-11-04 Thread Joe Perches
Signed-off-by: Joe Perches --- drivers/gpu/drm/via/via_dmablit.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/via/via_dmablit.c b/drivers/gpu/drm/via/via_dmablit.c index 9b5b4d9..3e038a3 100644 --- a/drivers/gpu/drm/via/via_dmablit.c +++ b/drivers/g

[PATCH 00/49] Use vzalloc not vmalloc/kmemset

2010-11-04 Thread Joe Perches
Converted vmalloc/memset and vmalloc_node/memset to vzalloc or vzalloc_node using a cocci script and some editing Reduces text a little bit. Compiled x86 only. There are still vmalloc_32 with memset calls still around. Broken out to multiple patches to cc appropriate maintainers. Joe Perches (

[PATCH 2/2] drm/ttm: track kmap io_reserve(), only unreserve on unmap where needed

2010-11-04 Thread Thomas Hellstrom
Ben, I had something like the attached in mind, although it might be more beneficial to do the actual refcounting in drivers that needs it. Atomic incs and decs are expensive, but I'm not sure how expensive relative to function pointer calls. Patch is only compile-tested /Thomas On 11/04/20

[PATCH] drm/ttm: Fix up io_mem_reserve / free

2010-11-04 Thread Thomas Hellstrom
Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 12 drivers/gpu/drm/ttm/ttm_bo_util.c | 34 -- drivers/gpu/drm/ttm/ttm_bo_vm.c |4 ++-- include/drm/ttm/ttm_bo_api.h |5 - include/drm/ttm/ttm_bo_driver.h

[Bug 31046] [r600g, tiling] visual errors and GPU resets

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31046 --- Comment #5 from Tobias Jakobi 2010-11-04 17:12:58 PDT --- Now tracking the new issue in bug #31400. I'm going to return to this bug when mipmaps are working again on mesa classic. -- Configure bugmail: https://bugs.freedesktop.org/userpref

[Bug 31046] [r600g, tiling] visual errors and GPU resets

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31046 --- Comment #5 from Tobias Jakobi 2010-11-04 17:12:58 PDT --- Now tracking the new issue in bug #31400. I'm going to return to this bug when mipmaps are working again on mesa classic. -- Configure bugmail: https://bugs.freedesktop.org/userpref

[Bug 31400] New: [RV740] Mipmapping broken in drm-radeon-next / drm-next

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31400 Summary: [RV740] Mipmapping broken in drm-radeon-next / drm-next Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW

[Bug 31400] New: [RV740] Mipmapping broken in drm-radeon-next / drm-next

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31400 Summary: [RV740] Mipmapping broken in drm-radeon-next / drm-next Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW

[PATCH 2/2] drm/ttm: track kmap io_reserve(), only unreserve on unmap where needed

2010-11-04 Thread Thomas Hellstrom
On 11/04/2010 01:03 AM, Ben Skeggs wrote: > From: Ben Skeggs > > If the driver kmaps an object userspace is expecting to be mapped, the > unmap would have called down into the drivers io_unreserve() function > and potentially unmapped the pages from its BARs (for example) and they'd > no longer be

[Bug 31391] New: Heroes of Newerth crashes with cs parser error

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31391 Summary: Heroes of Newerth crashes with cs parser error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Keywords: regression

[Bug 31391] New: Heroes of Newerth crashes with cs parser error

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31391 Summary: Heroes of Newerth crashes with cs parser error Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Keywords: regression

[PATCH 1/2] drm/ttm: ensure ttm_mem_io_free is called on bo destruction

2010-11-04 Thread Thomas Hellstrom
On 11/04/2010 01:03 AM, Ben Skeggs wrote: > From: Ben Skeggs > > Nouveau will start to use ttm_mem_io_reserve to allocate BAR VM space > for VRAM mappings, and without this call GPU address space gets leaked. > > Signed-off-by: Ben Skeggs > --- > drivers/gpu/drm/ttm/ttm_bo.c |1 + > 1 files

[Bug 29703] demos crashing on rv710 r600g

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29703 Jerome Glisse changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug 29703] demos crashing on rv710 r600g

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=29703 Jerome Glisse changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

Re: [PATCH 2/2] drm/ttm: track kmap io_reserve(), only unreserve on unmap where needed

2010-11-04 Thread Thomas Hellstrom
Ben, I had something like the attached in mind, although it might be more beneficial to do the actual refcounting in drivers that needs it. Atomic incs and decs are expensive, but I'm not sure how expensive relative to function pointer calls. Patch is only compile-tested /Thomas On 11/04/

[PATCH] drm: idr_find (drm_gem_object_lookup) needs only rcu read locks

2010-11-04 Thread Chris Wilson
... other mutation of the handle idr is still serialised using spin locks. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_gem.c | 20 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index ea1c4b0..c

[PATCH 2/2] drm/ttm: track kmap io_reserve(), only unreserve on unmap where needed

2010-11-04 Thread Ben Skeggs
From: Ben Skeggs If the driver kmaps an object userspace is expecting to be mapped, the unmap would have called down into the drivers io_unreserve() function and potentially unmapped the pages from its BARs (for example) and they'd no longer be accessible for the userspace mapping. Signed-off-by

[PATCH 1/2] drm/ttm: ensure ttm_mem_io_free is called on bo destruction

2010-11-04 Thread Ben Skeggs
From: Ben Skeggs Nouveau will start to use ttm_mem_io_reserve to allocate BAR VM space for VRAM mappings, and without this call GPU address space gets leaked. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/ttm/ttm_bo.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dri

[Bug 31037] [r300g] Unwanted checkerboard effect on sprites / textures

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31037 --- Comment #9 from Gerwin 2010-11-04 10:00:12 PDT --- I also added the log of the issue in webgl (see the ogg file) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Bug 31037] [r300g] Unwanted checkerboard effect on sprites / textures

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31037 --- Comment #8 from Gerwin 2010-11-04 09:59:37 PDT --- Created an attachment (id=40048) --> (https://bugs.freedesktop.org/attachment.cgi?id=40048) log of the issue in webgl -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 31037] [r300g] Unwanted checkerboard effect on sprites / textures

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31037 --- Comment #9 from Gerwin 2010-11-04 10:00:12 PDT --- I also added the log of the issue in webgl (see the ogg file) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --

[Bug 31037] [r300g] Unwanted checkerboard effect on sprites / textures

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31037 --- Comment #8 from Gerwin 2010-11-04 09:59:37 PDT --- Created an attachment (id=40048) --> (https://bugs.freedesktop.org/attachment.cgi?id=40048) log of the issue in webgl -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 31383] [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31383 --- Comment #2 from Kevin DeKorte 2010-11-04 09:46:17 PDT --- with glthreads you need to press the arrow keys to make it happen -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail beca

[Bug 31383] [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31383 --- Comment #2 from Kevin DeKorte 2010-11-04 09:46:17 PDT --- with glthreads you need to press the arrow keys to make it happen -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail beca

[Bug 31383] [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31383 --- Comment #1 from Kevin DeKorte 2010-11-04 09:45:01 PDT --- Seems to also happen with this command ./glthreads -n 3 -t glthreads: No explict locking. glthreads: Single display connection. XInitThreads() returned 1 (success) glthreads: creatin

[Bug 31383] [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31383 --- Comment #1 from Kevin DeKorte 2010-11-04 09:45:01 PDT --- Seems to also happen with this command ./glthreads -n 3 -t glthreads: No explict locking. glthreads: Single display connection. XInitThreads() returned 1 (success) glthreads: creatin

[Bug 31383] New: [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31383 Summary: [r600g] crash when using xeglthreads Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Comp

[Bug 31383] New: [r600g] crash when using xeglthreads

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31383 Summary: [r600g] crash when using xeglthreads Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Comp

Re: [PATCH 2/2] drm/ttm: track kmap io_reserve(), only unreserve on unmap where needed

2010-11-04 Thread Thomas Hellstrom
On 11/04/2010 01:03 AM, Ben Skeggs wrote: From: Ben Skeggs If the driver kmaps an object userspace is expecting to be mapped, the unmap would have called down into the drivers io_unreserve() function and potentially unmapped the pages from its BARs (for example) and they'd no longer be accessibl

Re: [PATCH 1/2] drm/ttm: ensure ttm_mem_io_free is called on bo destruction

2010-11-04 Thread Thomas Hellstrom
On 11/04/2010 01:03 AM, Ben Skeggs wrote: From: Ben Skeggs Nouveau will start to use ttm_mem_io_reserve to allocate BAR VM space for VRAM mappings, and without this call GPU address space gets leaked. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/ttm/ttm_bo.c |1 + 1 files changed, 1 ins

[Bug 31364] [r300g] CS section size missmatch start at (../../src/radeon_textured_videofuncs.c, R300PrepareTexturedVideoCP, 2184) 66 vs 62

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31364 Michel Dänzer changed: What|Removed |Added Product|Mesa|xorg Component|Drivers/Gallium/

[Bug 31364] [r300g] CS section size missmatch start at (../../src/radeon_textured_videofuncs.c, R300PrepareTexturedVideoCP, 2184) 66 vs 62

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31364 Michel D?nzer changed: What|Removed |Added Product|Mesa|xorg Component|Drivers/Gallium/

[Bug 31364] [r300g] CS section size missmatch start at (../../src/radeon_textured_videofuncs.c, R300PrepareTexturedVideoCP, 2184) 66 vs 62

2010-11-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=31364 Michel Dänzer changed: What|Removed |Added Attachment #40023|text/x-log |text/plain mime type|

[Bug 31364] [r300g] CS section size missmatch start at (../../src/radeon_textured_videofuncs.c, R300PrepareTexturedVideoCP, 2184) 66 vs 62

2010-11-04 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=31364 Michel D?nzer changed: What|Removed |Added Attachment #40023|text/x-log |text/plain mime type|

[PATCH] drm: idr_find (drm_gem_object_lookup) needs only rcu read locks

2010-11-04 Thread Chris Wilson
... other mutation of the handle idr is still serialised using spin locks. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_gem.c | 20 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index ea1c4b0..c

[PATCH] i915: reprogram power monitoring registers on resume

2010-11-04 Thread Kyle McMartin
From: Kyle McMartin Fixes issue where i915_gfx_val was reporting values several orders of magnitude higher than physically possible (without leaving scorch marks on my thighs at least.) Signed-off-by: Kyle McMartin Reviewed-by: Jesse Barnes --- drivers/gpu/drm/i915/i915_suspend.c |4 +++-