fbdev: add events for early fb event support
authorInki Dae <[email protected]>
Tue, 29 May 2012 22:07:12 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Tue, 29 May 2012 23:22:28 +0000 (16:22 -0700)
commitbf05929f41d6c3c79ec1961d90d808a634f09dd9
tree71afacc10d3a3cf46cd72b98beb1ccddeaa2bd31
parentaa523a82ee1be3f50560338e06151918fd8613e7
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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Acked-by: Florian Tobias Schandinat <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/fbmem.c
include/linux/fb.h