drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 19 Oct 2010 07:01:00 +0000 (09:01 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 21 Oct 2010 01:53:24 +0000 (11:53 +1000)
commit40d857bba2915a4e8d82f44744a186bfdd1a46ea
tree75add808d5f133a2db13299c3336df33bb89c7cf
parent21c74a8ea8b47eb6c3c621e36578f6e27f65c5c7
drm/ttm: Avoid using the ttm_mem_type_manager::put_locked function

Release the lru spinlock early.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_manager.c
include/drm/ttm/ttm_bo_driver.h