drm/vmwgfx: Fix implicit declaration error
authorZack Rusin <zackr@vmware.com>
Wed, 9 Jun 2021 17:23:07 +0000 (13:23 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 12 Jun 2021 04:01:04 +0000 (00:01 -0400)
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 <zackr@vmware.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 3eb7d96e9415 ("drm/ttm: flip over the range manager to self allocated nodes")
Cc: Christian König <christian.koenig@amd.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210609172307.131929-10-zackr@vmware.com
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

index d51f215bd7159533b23a0225f0ce27e30129b02b..48a62fb0da2f30ada0837a72b050685ecec691fb 100644 (file)
@@ -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>