drm/ttm: make ttm reservation calls behave like reservation calls
authorMaarten Lankhorst <[email protected]>
Thu, 27 Jun 2013 11:48:17 +0000 (13:48 +0200)
committerDave Airlie <[email protected]>
Fri, 28 Jun 2013 02:02:20 +0000 (12:02 +1000)
commitecff665f5e3f1c6909353e00b9420e45ae23d995
tree8fed7d4570ec707427e954c6d2695d1549e08364
parent786d7257e537da0674c02e16e3b30a44665d1cee
drm/ttm: make ttm reservation calls behave like reservation calls

This commit converts the source of the val_seq counter to
the ww_mutex api. The reservation objects are converted later,
because there is still a lockdep splat in nouveau that has to
resolved first.

Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Jerome Glisse <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
13 files changed:
drivers/gpu/drm/nouveau/nouveau_gem.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_object.h
drivers/gpu/drm/radeon/radeon_uvd.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
include/drm/ttm/ttm_bo_api.h
include/drm/ttm/ttm_bo_driver.h
include/drm/ttm/ttm_execbuf_util.h