summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/Kconfig
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-06-07 14:38:07 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2019-06-07 14:38:07 +0200
commit552ccf6b259d290c0c8a149de8c114a818aa7edc (patch)
tree3596d6f9de1630f01ccb3ab1d9d76d2e5aa53f31 /drivers/video/fbdev/Kconfig
parentf0bab2e3f67507e5ed2458cb842ddedd1b39ab0a (diff)
downloadlinux-552ccf6b259d290c0c8a149de8c114a818aa7edc.tar.bz2
video: fbdev: gbefb: add COMPILE_TEST support
Add COMPILE_TEST support to gbefb driver for better compile testing coverage. While at it convert bogus udelay() calls to mdelay() (needed to build driver on ARM) and remove dead x86 specific code. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
-rw-r--r--drivers/video/fbdev/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index dfe989d817a8..d047da3a90ca 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -670,7 +670,8 @@ config FB_HGA
config FB_GBE
bool "SGI Graphics Backend frame buffer support"
- depends on (FB = y) && SGI_IP32
+ depends on (FB = y) && HAS_IOMEM
+ depends on SGI_IP32 || COMPILE_TEST
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT