[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1380714911-6254-2-git-send-email-kraxel@redhat.com>
Date: Wed, 2 Oct 2013 13:55:11 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Gerd Hoffmann <kraxel@...hat.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
devel@...uxdriverproject.org (open list:Hyper-V CORE AND...),
linux-fbdev@...r.kernel.org (open list:FRAMEBUFFER LAYER),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 2/2] hyperv-fb: add blanking support
Signed-off-by: Gerd Hoffmann <kraxel@...hat.com>
---
drivers/video/hyperv_fb.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c
index 8d456dc..130708f 100644
--- 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,
};
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists