Skip to content

Commit 8ce35bf

Browse files
author
Thomas Zimmermann
committed
drm/fbdev: Select FB_CORE dependency for fbdev on DMA and TTM
Select FB_CORE if GEM's DMA and TTM implementations support fbdev emulation. Fixes linker errors about missing symbols from the fbdev subsystem. Also see [1] for a related SHMEM fix. Fixes: dadd28d ("drm/client: Add client-lib module") Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/series/141411/ # 1 Reviewed-by: Arnd Bergmann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 8fc3806 commit 8ce35bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,15 @@ config DRM_TTM_HELPER
358358
tristate
359359
depends on DRM
360360
select DRM_TTM
361+
select FB_CORE if DRM_FBDEV_EMULATION
361362
select FB_SYSMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
362363
help
363364
Helpers for ttm-based gem objects
364365

365366
config DRM_GEM_DMA_HELPER
366367
tristate
367368
depends on DRM
369+
select FB_CORE if DRM_FBDEV_EMULATION
368370
select FB_DMAMEM_HELPERS_DEFERRED if DRM_FBDEV_EMULATION
369371
help
370372
Choose this if you need the GEM DMA helper functions

0 commit comments

Comments
 (0)