aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-05-02 22:10:21 -0400
committerGerd Hoffmann <kraxel@redhat.com>2018-05-14 05:01:29 -0400
commit110ab11d413881395773df29e8bdf5bd3a2164ee (patch)
tree17331cf142b75b837f0c55d152506ba0643c86e8
parentc9ac371d4b5982d2f179d42bb99781e510d55f50 (diff)
drm/virtio: add define for second capset to the virgl code.
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. Signed-off-by: Dave Airlie <airlied@redhat.com> Link: http://patchwork.freedesktop.org/patch/msgid/20180503021021.10694-1-airlied@gmail.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--include/uapi/linux/virtio_gpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index 4b04ead26cd9..f43c3c6171ff 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -260,6 +260,7 @@ struct virtio_gpu_cmd_submit {
260}; 260};
261 261
262#define VIRTIO_GPU_CAPSET_VIRGL 1 262#define VIRTIO_GPU_CAPSET_VIRGL 1
263#define VIRTIO_GPU_CAPSET_VIRGL2 2
263 264
264/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */ 265/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
265struct virtio_gpu_get_capset_info { 266struct virtio_gpu_get_capset_info {