diff mbox series

[9/9] drm/vmwgfx: Fix implicit declaration error

Message ID 20210609172307.131929-10-zackr@vmware.com (mailing list archive)
State New, archived
Headers show
Series Adding support for mks-stats and some cleanups/fixes | expand

Commit Message

Zack Rusin June 9, 2021, 5:23 p.m. UTC
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>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christian König June 9, 2021, 5:24 p.m. UTC | #1
Am 09.06.21 um 19:23 schrieb Zack Rusin:
> 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>

Sorry for the noise.

> ---
>   drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 +
>   1 file changed, 1 insertion(+)
>
> 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>
>
diff mbox series

Patch

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>