With all the previous fixes in place, and my previous patch series applied to prevent fallout, it's time to throw the switch! Thanks to Deveryone who made this possible, in particular danvet, robclark, airlied and peterz. The first 4 patches are the real meat, the rest is just some cleanups. Maarten Lankhorst (13): reservation: cross-device reservation support, v4 drm/ttm: make ttm reservation calls behave like reservation calls drm/nouveau: make flipping lockdep safe drm/ttm: convert to the reservation api drm/ast: inline reservations drm/cirrus: inline reservations drm/mgag200: inline reservations drm/radeon: inline reservations drm/ttm: inline ttm_bo_reserve and related calls drm/ttm: get rid of ttm_bo_is_reserved usage drm/radeon: get rid of ttm_bo_is_reserved usage drm/vmwgfx: get rid of ttm_bo_is_reserved usage drm/ttm: get rid of ttm_bo_is_reserved Documentation/DocBook/device-drivers.tmpl | 2 + drivers/base/Makefile | 2 +- drivers/base/reservation.c | 39 +++++ drivers/gpu/drm/ast/ast_drv.h | 20 ++- drivers/gpu/drm/ast/ast_ttm.c | 18 --- drivers/gpu/drm/cirrus/cirrus_drv.h | 21 ++- drivers/gpu/drm/cirrus/cirrus_ttm.c | 18 --- drivers/gpu/drm/mgag200/mgag200_drv.h | 20 ++- drivers/gpu/drm/mgag200/mgag200_ttm.c | 18 --- drivers/gpu/drm/nouveau/nouveau_display.c | 103 ++++++------- drivers/gpu/drm/nouveau/nouveau_gem.c | 40 +++-- drivers/gpu/drm/qxl/qxl_object.h | 5 - drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_cs.c | 18 ++- drivers/gpu/drm/radeon/radeon_object.c | 36 +---- drivers/gpu/drm/radeon/radeon_object.h | 30 +++- drivers/gpu/drm/radeon/radeon_test.c | 75 +++++----- drivers/gpu/drm/radeon/radeon_uvd.c | 27 ++-- drivers/gpu/drm/ttm/ttm_bo.c | 233 +++++------------------------- drivers/gpu/drm/ttm/ttm_bo_util.c | 6 +- drivers/gpu/drm/ttm/ttm_execbuf_util.c | 86 +++++------ drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 14 +- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 27 ++-- include/drm/ttm/ttm_bo_api.h | 37 +---- include/drm/ttm/ttm_bo_driver.h | 169 ++++++++++++++-------- include/drm/ttm/ttm_execbuf_util.h | 12 +- include/linux/reservation.h | 62 ++++++++ 28 files changed, 549 insertions(+), 592 deletions(-) create mode 100644 drivers/base/reservation.c create mode 100644 include/linux/reservation.h -- 1.8.3.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel