summaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mobile_lcdcfb.h
diff options
context:
space:
mode:
authorAlexandre Courbot <gnurou@gmail.com>2011-02-23 08:36:30 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-03-29 16:04:39 +0900
commit8857b9aa7e64a70852545ee01fa638481cb08a76 (patch)
treefdf011896d06c9e5523206549f833db3343fb9a7 /drivers/video/sh_mobile_lcdcfb.h
parentbacbe55b63d434b7a33f01a03628b6302c75417b (diff)
downloadblackbird-op-linux-8857b9aa7e64a70852545ee01fa638481cb08a76.tar.gz
blackbird-op-linux-8857b9aa7e64a70852545ee01fa638481cb08a76.zip
fbdev: sh_mobile_lcdcfb: add blanking support
Add a blanking callback to the LCDC driver in order to support both FBIOBLANK and TIOCLINUX blanking ioctls. LCDC clocks are also released if the requested blanking level is superior to FB_BLANK_NORMAL, to allow runtime PM to disable the clocks if possible. Signed-off-by: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.h')
-rw-r--r--drivers/video/sh_mobile_lcdcfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h
index 03a22dcbcc59..fad353a7e44c 100644
--- a/drivers/video/sh_mobile_lcdcfb.h
+++ b/drivers/video/sh_mobile_lcdcfb.h
@@ -37,6 +37,7 @@ struct sh_mobile_lcdc_chan {
struct completion vsync_completion;
struct fb_var_screeninfo display_var;
int use_count;
+ int blank_status;
struct mutex open_lock; /* protects the use counter */
};
OpenPOWER on IntegriCloud