]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fbdev: add events for early fb event support
authorInki Dae <inki.dae@samsung.com>
Thu, 3 May 2012 05:44:22 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:46 +0000 (15:46 +1000)
commit2236528a706edc7bdb6f61522f157acbdef0c09d
tree1ce03c4fc913ae188d54dbf47ca99ba5a31714f3
parent75e53b1fd0c04ef6ed5f4406b073d1a17a443f66
fbdev: add events for early fb event support

Add FB_EARLY_EVENT_BLANK and FB_R_EARLY_EVENT_BLANK event mode supports.
first, fb_notifier_call_chain() is called with FB_EARLY_EVENT_BLANK and
fb_blank() of specific fb driver is called and then
fb_notifier_call_chain() is called with FB_EVENT_BLANK again at
fb_blank().  and if fb_blank() was failed then fb_nitifier_call_chain()
would be called with FB_R_EARLY_EVENT_BLANK to revert the previous
effects.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/fbmem.c
include/linux/fb.h