udlfb: add more comprehensive support for DPMS FB_BLANK_* modes
authorBernie Thompson <bernie@plugable.com>
Sun, 21 Aug 2011 20:34:11 +0000 (13:34 -0700)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 24 Aug 2011 10:07:59 +0000 (10:07 +0000)
commit58e7c3b00114c48e0879e9fbafd37e0e0c2402cb
tree372fa4a8702694cc50ba609c6a650c65d8812a18
parent3c470f33e6a1df1398143c1f3dd619f675602472
udlfb: add more comprehensive support for DPMS FB_BLANK_* modes

Fixes earlier problems where monitor would not return from blank

Test with any DisplayLink-based USB 2.0 graphics adapter
sudo nano /sys/class/graphics/fb?/blank
and write out single digit FB_BLANK_* code from include/linux/fb.h

Supports on (0), blank (1), suspend (2,3), powerdown (4)

Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/udlfb.c
include/video/udlfb.h