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)
commit68c4fa31aa52765314b4285a7835368ea35b509c
tree483c669e7308e10205ec675e8bff0cb8098add02
parent2357cbe5f4ca8a52329c2c2a26b68839870d5d43
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