drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 26 Sep 2018 18:15:36 +0000 (20:15 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Sep 2018 13:19:20 +0000 (15:19 +0200)
commit0b8762e997df0e0e74ad64239ac9feb0b0acf16f
tree017c6ae1ca64f1a5a4fe97f38c5c75dcce30f794
parent36c9c3c91128e2b892c9be0dd9ee9bd82cbe82ad
drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver

No other driver is using this functionality so move it out of TTM and
into the vmwgfx driver. Update includes and remove exports.
Also annotate to remove false static analyzer lock balance warnings.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
14 files changed:
drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/ttm/ttm_lock.c [deleted file]
drivers/gpu/drm/ttm/ttm_object.c [deleted file]
drivers/gpu/drm/vmwgfx/Makefile
drivers/gpu/drm/vmwgfx/ttm_lock.c [new file with mode: 0644]
drivers/gpu/drm/vmwgfx/ttm_lock.h [new file with mode: 0644]
drivers/gpu/drm/vmwgfx/ttm_object.c [new file with mode: 0644]
drivers/gpu/drm/vmwgfx/ttm_object.h [new file with mode: 0644]
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
include/drm/ttm/ttm_lock.h [deleted file]
include/drm/ttm/ttm_object.h [deleted file]