summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/Kconfig
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2017-01-04 10:12:55 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-01-06 11:00:09 +0100
commit82f42e4cc164ed486c9e2b1b74e65b176830d947 (patch)
tree9f1c537b1eb4e8288704c31e90d2f121e267abe8 /drivers/video/fbdev/Kconfig
parentdrm: crc: Wait for a frame before returning from open() (diff)
downloadlinux-82f42e4cc164ed486c9e2b1b74e65b176830d947.tar.xz
linux-82f42e4cc164ed486c9e2b1b74e65b176830d947.zip
fbmem: add a default get_fb_unmapped_area function
Allow generic frame-buffer to provide a default get_fb_unmapped_area function if specific devices need it. Usually this function is defined in architecture directories but define it here may limit code duplication especially for all ARM platforms without MMU. version 5: - set get_unmapped_area field if FB_PROVIDE_GET_FB_UNMAPPED_AREA is defined version 4: - introdude a configuration flag to be independent of architecture Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1483521177-21794-2-git-send-email-benjamin.gaignard@linaro.org
Diffstat (limited to 'drivers/video/fbdev/Kconfig')
-rw-r--r--drivers/video/fbdev/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index 5d3b0db5ce0a..922e4eaed9c5 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -138,6 +138,14 @@ config FB_SYS_IMAGEBLIT
blitting. This is used by drivers that don't provide their own
(accelerated) version and the framebuffer is in system RAM.
+config FB_PROVIDE_GET_FB_UNMAPPED_AREA
+ bool
+ depends on FB
+ default n
+ ---help---
+ Allow generic frame-buffer to provide get_fb_unmapped_area
+ function.
+
menuconfig FB_FOREIGN_ENDIAN
bool "Framebuffer foreign endianness support"
depends on FB