fb: Add shadowfb support
For speeding up rendering we need shadow framebuffers. This is currently
implemented in the gui functions. This does not work properly when two
users (splash and fbconsole) use the same framebuffer since in this case
two different shadow framebuffers will be used. This patch implements
shadowfb handling in the fb core directly. With this the fb device gets
a parameter 'shadowfb'. When this is true the fb core will allocate a
shadow fb and provide it to the users.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent eac2805 commit 6f964990646cd728827e1d8689404878fae0a1fd
@Sascha Hauer Sascha Hauer authored on 7 Aug 2015
Showing 2 changed files
View
drivers/video/fb.c
View
include/fb.h