drm/ttm: Improved fencing of buffer object lists
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Nov 2010 12:28:30 +0000 (12:28 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:25:20 +0000 (13:25 +1000)
commit95762c2b34069bf4adb7929969f1f5f5fc8a38df
tree5c792e65dbdb4e7cb2c04b5a8058a929e8acc23d
parent702adba22433c175e8429a47760f35ca16caf1cd
drm/ttm: Improved fencing of buffer object lists

Drastically reduce the number of spin lock / unlock operations by performing
unreserving and fencing under global locks.

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