aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/virtio_gpu.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-04-10 13:42:25 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-04-11 17:00:10 +0200
commitbeb941b970fb129dae206050593d3e768859b146 (patch)
tree44d96b963094297395cab3d170849195c660ef68 /include/uapi/linux/virtio_gpu.h
parentdrm: fix drm_fb_xrgb8888_to_rgb888_dstclip() (diff)
downloadlinux-dev-beb941b970fb129dae206050593d3e768859b146.tar.xz
linux-dev-beb941b970fb129dae206050593d3e768859b146.zip
virtio-gpu api: comment feature flags
Add comments to the existing feature flags, documenting which commands belong to them. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20190410114227.25846-2-kraxel@redhat.com
Diffstat (limited to 'include/uapi/linux/virtio_gpu.h')
-rw-r--r--include/uapi/linux/virtio_gpu.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index 8e88eba1fa7a..0c85914d9369 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -40,8 +40,16 @@
#include <linux/types.h>
-#define VIRTIO_GPU_F_VIRGL 0
-#define VIRTIO_GPU_F_EDID 1
+/*
+ * VIRTIO_GPU_CMD_CTX_*
+ * VIRTIO_GPU_CMD_*_3D
+ */
+#define VIRTIO_GPU_F_VIRGL 0
+
+/*
+ * VIRTIO_GPU_CMD_GET_EDID
+ */
+#define VIRTIO_GPU_F_EDID 1
enum virtio_gpu_ctrl_type {
VIRTIO_GPU_UNDEFINED = 0,