提交 9b5254b4 编写于 作者: G Gerd Hoffmann 提交者: Tomi Valkeinen

hyperv-fb: add blanking support

Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Acked-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 7ad96847
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册