提交 110ab11d 编写于 作者: D Dave Airlie 提交者: Gerd Hoffmann

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: NDave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180503021021.10694-1-airlied@gmail.comSigned-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 c9ac371d
...@@ -260,6 +260,7 @@ struct virtio_gpu_cmd_submit { ...@@ -260,6 +260,7 @@ struct virtio_gpu_cmd_submit {
}; };
#define VIRTIO_GPU_CAPSET_VIRGL 1 #define VIRTIO_GPU_CAPSET_VIRGL 1
#define VIRTIO_GPU_CAPSET_VIRGL2 2
/* VIRTIO_GPU_CMD_GET_CAPSET_INFO */ /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
struct virtio_gpu_get_capset_info { struct virtio_gpu_get_capset_info {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册