]> asedeno.scripts.mit.edu Git - linux.git/commit
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>
drivers/gpu/drm/ttm/Makefile
drivers/gpu/drm/vmwgfx/Makefile
drivers/gpu/drm/vmwgfx/ttm_lock.c [moved from drivers/gpu/drm/ttm/ttm_lock.c with 95% similarity]
drivers/gpu/drm/vmwgfx/ttm_lock.h [moved from include/drm/ttm/ttm_lock.h with 100% similarity]
drivers/gpu/drm/vmwgfx/ttm_object.c [moved from drivers/gpu/drm/ttm/ttm_object.c with 96% similarity]
drivers/gpu/drm/vmwgfx/ttm_object.h [moved from include/drm/ttm/ttm_object.h with 99% similarity]
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