[PATCH] Fix broken locking in ttm_bo_swapout()

2011-01-28 Thread Matthew Bullock
Signed-off-by: Matthew Bullock --- drivers/gpu/drm/ttm/ttm_bo.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index af61fc2..e4695db 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c

[PATCH] Fix broken locking in ttm_bo_swapout()

2011-01-28 Thread Matthew Bullock
Signed-off-by: Matthew Bullock matthew.bull...@tadpole.com --- drivers/gpu/drm/ttm/ttm_bo.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index af61fc2..e4695db 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++

Broken locking in ttm_bo_swapout

2011-01-27 Thread Thomas Hellstrom
On 01/20/2011 07:53 PM, Matthew Bullock wrote: > I have a fairly simple opengl application running on nouveau. It > effectively just plots a couple of very large images that change > regularly. > > I've been getting an easily repeatable failure, hitting the > BUG_ON(in_interrupt) in vfree() that

Broken locking in ttm_bo_swapout

2011-01-20 Thread Matthew Bullock
I have a fairly simple opengl application running on nouveau. It effectively just plots a couple of very large images that change regularly. I've been getting an easily repeatable failure, hitting the BUG_ON(in_interrupt) in vfree() that is called during ttm_shrink_work(). Obviously vfree() is