[PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-13 Thread Thomas Hellstrom
Release the lru spinlock early. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 30 +- drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 -- include/drm/ttm/ttm_bo_driver.h |2 -- 3 files changed, 5 insertions(+), 37 deletions(-

[PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-19 Thread Thomas Hellstrom
Release the lru spinlock early. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 31 ++- drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 -- include/drm/ttm/ttm_bo_driver.h |2 -- 3 files changed, 6 insertions(+), 37 deletions(

[PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-13 Thread Thomas Hellstrom
Release the lru spinlock early. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 30 +- drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 -- include/drm/ttm/ttm_bo_driver.h |2 -- 3 files changed, 5 insertions(+), 37 deletions(-

[PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-19 Thread Dave Airlie
On Thu, Oct 14, 2010 at 3:17 AM, Thomas Hellstrom wrote: > Release the lru spinlock early. Actually I think its this patch that introduces the recursion issue, since we still seem to hold the lock on entry into cleanup_memtype_use and not drop it at all. Dave. > > Signed-off-by: Thomas Hellst

[PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-19 Thread Thomas Hellstrom
Release the lru spinlock early. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c | 31 ++- drivers/gpu/drm/ttm/ttm_bo_manager.c | 10 -- include/drm/ttm/ttm_bo_driver.h |2 -- 3 files changed, 6 insertions(+), 37 deletions(

Re: [PATCH 1/2] drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

2010-10-18 Thread Dave Airlie
On Thu, Oct 14, 2010 at 3:17 AM, Thomas Hellstrom wrote: > Release the lru spinlock early. Actually I think its this patch that introduces the recursion issue, since we still seem to hold the lock on entry into cleanup_memtype_use and not drop it at all. Dave. > > Signed-off-by: Thomas Hellstr