summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 22:14:05 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-02 04:55:25 +0100
commitbca404afdc5206c3bb30168315ee8a98a579ec65 (patch)
tree82f6e2e5cf775fe576eee4ae2e0ab0aa49e6d510 /firmware
parentntfs: don't fool kernel-doc (diff)
downloadlinux-bca404afdc5206c3bb30168315ee8a98a579ec65.tar.xz
linux-bca404afdc5206c3bb30168315ee8a98a579ec65.zip
fbdev: fix FB console blanking
The commit aef7db4bd5a3b6068dfa05919a3d685199eed116 fixed the problem with recursive locking in fb blanking code if blank is caused by user setting the /sys/class/graphics/fb*/blank. However this broke the fbcon timeout blanking. If you use a driver that defines ->fb_blank operation and at the same time that driver relies on other driver (e.g. backlight or lcd class) to blank the screen, when the fbcon times out and tries to blank the fb, it will call only fb driver blanker and won't notify the other driver. Thus FB output is disabled, but the screen isn't blanked. Restore fbcon blanking and at the same time apply the proper fix for the above problem: if fbcon_blank is called with FBINFO_FLAG_USEREVENT, we are already called through notification from fb_blank, thus we don't have to blank the fb again. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions