diff options
author | Zack Rusin <zackr@vmware.com> | 2021-06-09 13:23:07 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2021-07-09 16:18:24 -0400 |
commit | c26d6586e97a69ef9b429cc577ca4c9d2d2ec7cd (patch) | |
tree | 6052d8f6b4ff0bfb803b12d821833c369c66643d /drivers/gpu | |
parent | 3efe180d5105d367ae1dfadb97892ab93a89a783 (diff) | |
download | linux-c26d6586e97a69ef9b429cc577ca4c9d2d2ec7cd.tar.gz linux-c26d6586e97a69ef9b429cc577ca4c9d2d2ec7cd.tar.bz2 linux-c26d6586e97a69ef9b429cc577ca4c9d2d2ec7cd.zip |
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 <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
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 |
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 6f5ea00973e0..45aeeca9b8f6 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> |