OSDN Git Service

hyperv-fb: add support for generation 2 virtual machines.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 26 Feb 2014 10:51:24 +0000 (11:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 23:31:39 +0000 (15:31 -0800)
commit9069fd54960304a7c941909cbccdf8df9c42b488
tree74179cf285290436141b88f5727c27fb6de1cf53
parent2da19688f4776437597c1e217d27f74ffaecd52a
hyperv-fb: add support for generation 2 virtual machines.

UEFI-based generation 2 virtual machines support vmbus devices only.
There is no pci bus.  Thus they use a different mechanism for the
graphics framebuffer:  Instead of using the vga pci bar a chunk of
memory muct be allocated from the hyperv mmio region declared using
APCI.  This patch implements support for it.

Based on a patch by Haiyang Zhang <haiyangz@microsoft.com>

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/hyperv_fb.c