]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Optimize ttm_eu_backoff_reservation
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Nov 2010 12:28:27 +0000 (12:28 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:25:15 +0000 (13:25 +1000)
commit361af3d6136744b99fe766b54023a7c4afcc22e6
tree483c669e7308e10205ec675e8bff0cb8098add02
parentc562934129ac776ddc888518ddb81d6b8fa0b7fa
drm/ttm: Optimize ttm_eu_backoff_reservation

Avoid the ttm_bo_unreserve() spinlocks by calling
ttm_eu_backoff_reservation_locked under the lru spinlock.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jerome Glisse <j.glisse@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_execbuf_util.c