Skip to contentSkip to conversation

video: amba-clcd: Select FB_MODE_HELPERS

PATCH In review Mark Brown 3 participants 4 messages Aug 1, 2014 – Aug 4, 2014 Framebuffer layer

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 video: amba-clcd: Select FB_MODE_HELPERS

From: Mark Brown <[email protected]>

The AMBA CLCD driver uses fb_videomode_from_videomode() so it needs to select DB_MODE_HELPERS as well as VIDEOMODE_HELPERS.

---
 drivers/video/fbdev/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/video/fbdev/Kconfig +1 -0
index 37d473f..e222048 100644
@@ -280,6 +280,7 @@ config FB_ARMCLCD
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
+	select FB_MODE_HELPERS
 	select VIDEOMODE_HELPERS if OF
 	help
 	  This framebuffer device driver is for the ARM PrimeCell PL110
Signature · 1 line
2.0.0
#1 lore raw
Quoted 4 lines · Mark Brown

From: Mark Brown <[email protected]>

The AMBA CLCD driver uses fb_videomode_from_videomode() so it needs to select DB_MODE_HELPERS as well as VIDEOMODE_HELPERS.

It doesn't, not as I designed it at least. It depends what other people have done to my driver...

Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
author
#2 lore raw
In reply to Mark Brown
Quoted 7 lines · Russell King - ARM Linux
Quoted 2 lines · Mark Brown

The AMBA CLCD driver uses fb_videomode_from_videomode() so it needs to select DB_MODE_HELPERS as well as VIDEOMODE_HELPERS.

It doesn't, not as I designed it at least. It depends what other people have done to my driver...

Ah, sorry - I didn't notice that this is as a result of an out of tree patch I'm carrying adding DT support (which I'd forgotten all about as I've needed it for so long). Please disregard this patch.

#3 lore raw
In reply to Mark Brown

Hi,

Quoted 15 lines · Mark Brown

From: Mark Brown <[email protected]>

The AMBA CLCD driver uses fb_videomode_from_videomode() so it needs to select DB_MODE_HELPERS as well as VIDEOMODE_HELPERS.

---
 drivers/video/fbdev/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/video/fbdev/Kconfig +0 -0
index 37d473f..e222048 100644

drivers/video/fbdev/Kconfig config FB_ARMCLCD · line 286

Quoted 7 lines
drivers/video/fbdev/Kconfig +1 -0
@@ -280,6 +280,7 @@ config FB_ARMCLCD
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
+	select FB_MODE_HELPERS
 	select VIDEOMODE_HELPERS if OF
 	help
 	  This framebuffer device driver is for the ARM PrimeCell PL110

Pawel sent a patch fixing the same issue. I've applied that one.

Tomi