]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fbdev: add events for early fb event support
authorInki Dae <inki.dae@samsung.com>
Wed, 25 Apr 2012 01:03:58 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:31 +0000 (15:17 +1000)
commit3803277dc091152f7cc930bb85bcc060fc0ac006
tree1d73ee63cfd634e86c2ca6b4fd4cf2dee24959bd
parent96c7f03ac67201981852648c14bdaf1a887b2675
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