Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: Clean-up superfluously selecting VT_HW_CONSOLE_BINDING

As config FRAMEBUFFER_CONSOLE already selects VT_HW_CONSOLE_BINDING, there
is no need for any drm driver to repeat that rule for selecting.

Remove those duplications of selecting VT_HW_CONSOLE_BINDING.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
[sima: Note that this is only correct since a5ae331edb02 ("drm: Drop
select FRAMEBUFFER_CONSOLE for DRM_FBDEV_EMULATION") because select in
Kconfig isn't recursive and so needs to be replicated.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20240108121757.14069-1-lukas.bulwahn@gmail.com

authored by

Lukas Bulwahn and committed by
Daniel Vetter
c95d67a6 9f78b3ae

-4
-1
drivers/gpu/drm/ingenic/Kconfig
··· 11 11 select DRM_GEM_DMA_HELPER 12 12 select REGMAP 13 13 select REGMAP_MMIO 14 - select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE 15 14 help 16 15 Choose this option for DRM support for the Ingenic SoCs. 17 16
-1
drivers/gpu/drm/mcde/Kconfig
··· 11 11 select DRM_PANEL_BRIDGE 12 12 select DRM_KMS_HELPER 13 13 select DRM_GEM_DMA_HELPER 14 - select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE 15 14 help 16 15 Choose this option for DRM support for the ST-Ericsson MCDE 17 16 Multi-Channel Display Engine.
-1
drivers/gpu/drm/pl111/Kconfig
··· 9 9 select DRM_GEM_DMA_HELPER 10 10 select DRM_BRIDGE 11 11 select DRM_PANEL_BRIDGE 12 - select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE 13 12 help 14 13 Choose this option for DRM support for the PL111 CLCD controller. 15 14 If M is selected the module will be called pl111_drm.
-1
drivers/gpu/drm/tve200/Kconfig
··· 9 9 select DRM_PANEL_BRIDGE 10 10 select DRM_KMS_HELPER 11 11 select DRM_GEM_DMA_HELPER 12 - select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE 13 12 help 14 13 Choose this option for DRM support for the Faraday TV Encoder 15 14 TVE200 Controller.