]> git.baikalelectronics.ru Git - kernel.git/commit
fbmem: add a default get_fb_unmapped_area function
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 4 Jan 2017 09:12:55 +0000 (10:12 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 6 Jan 2017 10:00:09 +0000 (11:00 +0100)
commit82f42e4cc164ed486c9e2b1b74e65b176830d947
tree9f1c537b1eb4e8288704c31e90d2f121e267abe8
parente8fa5671183c80342d520ad81d14fa79a9d4a680
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
drivers/video/fbdev/Kconfig
drivers/video/fbdev/core/fbmem.c