summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_drv.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_drv.c
parent36c9c3c91128e2b892c9be0dd9ee9bd82cbe82ad (diff)
downloadlinux-0b8762e997df0e0e74ad64239ac9feb0b0acf16f.tar.gz
linux-0b8762e997df0e0e74ad64239ac9feb0b0acf16f.tar.bz2
linux-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_drv.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index bb6dbbe18835..d9c178e235b4 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -30,9 +30,9 @@
#include <drm/drmP.h>
#include "vmwgfx_drv.h"
#include "vmwgfx_binding.h"
+#include "ttm_object.h"
#include <drm/ttm/ttm_placement.h>
#include <drm/ttm/ttm_bo_driver.h>
-#include <drm/ttm/ttm_object.h>
#include <drm/ttm/ttm_module.h>
#include <linux/dma_remapping.h>