Skip to contentSkip to conversation

video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

PATCH In review Geert Uytterhoeven 3 participants 3 messages Sep 5, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 ("fbdev: fbcon: select VT_HW_CONSOLE_BINDING") made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove

select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE

from the individual drivers' sections that already did this before.

---
 drivers/gpu/drm/exynos/Kconfig |    1 -
 drivers/video/Kconfig          |    1 -
 2 files changed, 2 deletions(-)
drivers/gpu/drm/exynos/Kconfig +0 -1
index 772c62a..1344d34 100644
@@ -5,7 +5,6 @@ config DRM_EXYNOS
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
-	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
 	help
 	  Choose this option if you have a Samsung SoC EXYNOS chipset.
 	  If M is selected the module will be called exynosdrm.
drivers/video/Kconfig +0 -1
index 9788340..f60e3fa 100644
@@ -2174,7 +2174,6 @@ config FB_PS3
 	select FB_SYS_COPYAREA
 	select FB_SYS_IMAGEBLIT
 	select FB_SYS_FOPS
-	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
 	---help---
 	  Include support for the virtual frame buffer in the PS3 platform.
 
Signature · 1 line
1.7.9.5
Reviewed-by on v1 1/1
#1 lore raw

Hi

Quoted 7 lines · Geert Uytterhoeven

commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 ("fbdev: fbcon: select VT_HW_CONSOLE_BINDING") made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove

select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE

from the individual drivers' sections that already did this before.

Yepp, looks good. Maybe we should just drop it entirely. It's 200 lines of code and no additional dependencies. Anyway, nice catch:

Thanks
David

Quoted 33 lines
---
 drivers/gpu/drm/exynos/Kconfig |    1 -
 drivers/video/Kconfig          |    1 -
 2 files changed, 2 deletions(-)
drivers/gpu/drm/exynos/Kconfig +0 -1
index 772c62a..1344d34 100644
@@ -5,7 +5,6 @@ config DRM_EXYNOS
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
-       select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
        help
          Choose this option if you have a Samsung SoC EXYNOS chipset.
          If M is selected the module will be called exynosdrm.
drivers/video/Kconfig +0 -2
index 9788340..f60e3fa 100644
@@ -2174,7 +2174,6 @@ config FB_PS3
        select FB_SYS_COPYAREA
        select FB_SYS_IMAGEBLIT
        select FB_SYS_FOPS
-       select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
        ---help---
          Include support for the virtual frame buffer in the PS3 platform.
 
--

1.7.9.5

maintainer
#2 lore raw
In reply to Geert Uytterhoeven
Quoted 44 lines

-----Original Message-----
From: Geert Uytterhoeven [mailto:[email protected]]
Sent: Thursday, September 05, 2013 5:21 PM
To: David Herrmann; H. Peter Anvin
Cc: Inki Dae; David Airlie; Geoff Levand; [email protected]; [email protected]; [email protected]; Geert Uytterhoeven
Subject: [PATCH] video/drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"

commit 765d5b9c2b72f5b99722cdfcf4bf8f88c556cf92 ("fbdev: fbcon: select VT_HW_CONSOLE_BINDING") made FRAMEBUFFER_CONSOLE always select VT_HW_CONSOLE_BINDING, but forgot to remove

select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE

from the individual drivers' sections that already did this before.

---
 drivers/gpu/drm/exynos/Kconfig |    1 -
 drivers/video/Kconfig          |    1 -
 2 files changed, 2 deletions(-)
drivers/gpu/drm/exynos/Kconfig +0 -1
index 772c62a..1344d34 100644
@@ -5,7 +5,6 @@ config DRM_EXYNOS
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
-	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
 	help
 	  Choose this option if you have a Samsung SoC EXYNOS chipset.
 	  If M is selected the module will be called exynosdrm.
drivers/video/Kconfig +0 -0
index 9788340..f60e3fa 100644

drivers/video/Kconfig config FB_PS3 · line 2178

Quoted 6 lines
drivers/video/Kconfig +0 -1
@@ -2174,7 +2174,6 @@ config FB_PS3
 	select FB_SYS_COPYAREA
 	select FB_SYS_IMAGEBLIT
 	select FB_SYS_FOPS
-	select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
 	---help---
 	  Include support for the virtual frame buffer in the PS3 platform.

Thanks,
Inki Dae

Quoted 3 lines
drivers/video/Kconfig +0 -1
--

1.7.9.5