projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad9684
)
hyperv-fb: add blanking support
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 2 Oct 2013 11:55:11 +0000
(13:55 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 9 Oct 2013 09:52:50 +0000
(12:52 +0300)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/hyperv_fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/hyperv_fb.c
b/drivers/video/hyperv_fb.c
index 8d456dc449b870d4a604552d85fee70a25e6f5f1..130708f96430e2806fa0c4eed32264cd61309995 100644
(file)
--- a/
drivers/video/hyperv_fb.c
+++ b/
drivers/video/hyperv_fb.c
@@
-575,6
+575,10
@@
static int hvfb_setcolreg(unsigned regno, unsigned red, unsigned green,
return 0;
}
+static int hvfb_blank(int blank, struct fb_info *info)
+{
+ return 1; /* get fb_blank to set the colormap to all black */
+}
static struct fb_ops hvfb_ops = {
.owner = THIS_MODULE,
@@
-584,6
+588,7
@@
static struct fb_ops hvfb_ops = {
.fb_fillrect = cfb_fillrect,
.fb_copyarea = cfb_copyarea,
.fb_imageblit = cfb_imageblit,
+ .fb_blank = hvfb_blank,
};