aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2021-06-09 13:23:07 -0400
committerZack Rusin <[email protected]>2021-06-12 00:01:04 -0400
commit352a81b71ea0a3ce8f929aa60afe369d738a0c6a (patch)
tree4158ff1ca5484bb99fb1bb8743646a9f4f7d5458
parentbaee602e5c0d00a7233fdb2b2bfd3ace4b5b8f29 (diff)
drm/vmwgfx: Fix implicit declaration error
The declarations of ttm_range_man_init and ttm_range_man_fini have been moved to ttm_range_manager.h so we have to add it to the include list. Signed-off-by: Zack Rusin <[email protected]> Reported-by: Randy Dunlap <[email protected]> Fixes: 3eb7d96e9415 ("drm/ttm: flip over the range manager to self allocated nodes") Cc: Christian König <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index d51f215bd715..48a62fb0da2f 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -36,6 +36,7 @@
#include <drm/drm_ioctl.h>
#include <drm/drm_sysfs.h>
#include <drm/ttm/ttm_bo_driver.h>
+#include <drm/ttm/ttm_range_manager.h>
#include <drm/ttm/ttm_placement.h>
#include <generated/utsrelease.h>