forked from Minki/linux
dc5698e80c
This patch adds a kms driver for the virtio gpu. The xorg modesetting driver can handle the device just fine, the framebuffer for fbcon is there too. Qemu patches for the host side are under review currently. The pci version of the device comes in two variants: with and without vga compatibility. The former has a extra memory bar for the vga framebuffer, the later is a pure virtio device. The only concern for this driver is that in the virtio-vga case we have to kick out the firmware framebuffer. Initial revision has only 2d support, 3d (virgl) support requires some more work on the qemu side and will be added later. Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com>
15 lines
379 B
Plaintext
15 lines
379 B
Plaintext
config DRM_VIRTIO_GPU
|
|
tristate "Virtio GPU driver"
|
|
depends on DRM && VIRTIO
|
|
select FB_SYS_FILLRECT
|
|
select FB_SYS_COPYAREA
|
|
select FB_SYS_IMAGEBLIT
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_FB_HELPER
|
|
select DRM_TTM
|
|
help
|
|
This is the virtual GPU driver for virtio. It can be used with
|
|
QEMU based VMMs (like KVM or Xen).
|
|
|
|
If unsure say M.
|