Skip to contentSkip to conversation

drm/virtio: add define for second capset to the virgl code.

PATCH New Dave Airlie 1 participant 1 message May 3, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/virtio: add define for second capset to the virgl code.

From: Dave Airlie <[email protected]>

Although the kernel doesn't use this, qemu imports these headers and it's best to keep them consistent.

This define is also something userspace may want to use.

---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/virtio_gpu.h +1 -0
index 4b04ead26cd9..f43c3c6171ff 100644
@@ -260,6 +260,7 @@ struct virtio_gpu_cmd_submit {
 };
 
 #define VIRTIO_GPU_CAPSET_VIRGL 1
+#define VIRTIO_GPU_CAPSET_VIRGL2 2
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {
Signature · 6 lines
2.14.3

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel