drm: ttm: select CONFIG_SHMEM
Subsystems (2)
PATCH 1/1 drm: ttm: select CONFIG_SHMEM
From: Arnd Bergmann <[email protected]>
ttm now directly calls into shmem code, which fails to build when that is disabled at compile time.
ld.lld-21: error: undefined symbol: shmem_writeout
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
referenced by
ttm_backup.c
drivers/gpu/drm/ttm/ttm_backup.o:(ttm_backup_backup_page) in archive vmlinux.a
Select SHMEM here.
Fixes fe75adffac33 ("ttm: Call shmem_writeout() from ttm_backup_backup_page()")
Signed-off-by Arnd Bergmann <[email protected]>
--- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/Kconfig +1 -0
@@ -187,6 +187,7 @@ source "drivers/gpu/drm/display/Kconfig" config DRM_TTM tristate depends on DRM && MMU + select SHMEM help GPU memory management subsystem for devices with multiple GPU memory types. Will be enabled automatically if a device driver
Signature · 1 line
2.39.5