Skip to content

Commit 110ab11

Browse files
airliedkraxel
authored andcommitted
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>
1 parent c9ac371 commit 110ab11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/virtio_gpu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ struct virtio_gpu_cmd_submit {
260260
};
261261

262262
#define VIRTIO_GPU_CAPSET_VIRGL 1
263+
#define VIRTIO_GPU_CAPSET_VIRGL2 2
263264

264265
/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
265266
struct virtio_gpu_get_capset_info {

0 commit comments

Comments
 (0)