summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_ids.h
diff options
context:
space:
mode:
authorDave Airlie2013-09-09 02:02:56 +0200
committerGerd Hoffmann2015-06-03 14:17:38 +0200
commitdc5698e80cf724770283e10414054662bdf6ccfa (patch)
tree9c70288526995f4bb2aa3109e9b49058a2cbdef4 /include/uapi/linux/virtio_ids.h
parentdrm_vblank_get: don't WARN_ON in case vblanks are not initialized (diff)
downloadkernel-qcow2-linux-dc5698e80cf724770283e10414054662bdf6ccfa.tar.gz
kernel-qcow2-linux-dc5698e80cf724770283e10414054662bdf6ccfa.tar.xz
kernel-qcow2-linux-dc5698e80cf724770283e10414054662bdf6ccfa.zip
Add virtio gpu driver.
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>
Diffstat (limited to 'include/uapi/linux/virtio_ids.h')
-rw-r--r--include/uapi/linux/virtio_ids.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
index 5f60aa4be50a..77925f587b15 100644
--- a/include/uapi/linux/virtio_ids.h
+++ b/include/uapi/linux/virtio_ids.h
@@ -39,6 +39,7 @@
#define VIRTIO_ID_9P 9 /* 9p virtio console */
#define VIRTIO_ID_RPROC_SERIAL 11 /* virtio remoteproc serial link */
#define VIRTIO_ID_CAIF 12 /* Virtio caif */
+#define VIRTIO_ID_GPU 16 /* virtio GPU */
#define VIRTIO_ID_INPUT 18 /* virtio input */
#endif /* _LINUX_VIRTIO_IDS_H */