aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2018-09-26 20:15:36 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2018-09-27 15:19:20 +0200
commit0b8762e997df0e0e74ad64239ac9feb0b0acf16f (patch)
tree017c6ae1ca64f1a5a4fe97f38c5c75dcce30f794 /drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
parentMerge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux into drm-next (diff)
downloadlinux-dev-0b8762e997df0e0e74ad64239ac9feb0b0acf16f.tar.xz
linux-dev-0b8762e997df0e0e74ad64239ac9feb0b0acf16f.zip
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_prime.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_prime.c b/drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
index 0861c821a7fe..e420675e8db3 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
@@ -31,8 +31,8 @@
*/
#include "vmwgfx_drv.h"
+#include "ttm_object.h"
#include <linux/dma-buf.h>
-#include <drm/ttm/ttm_object.h>
/*
* DMA-BUF attach- and mapping methods. No need to implement