History

virtio-gpu api: comment feature flags

Add comments to the existing feature flags, documenting which commands belong to them.

Gerd Hoffmann committed 7 years ago

Commit beb941b1 parent 79b97971 file · +10 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/virtio_gpu.h+10−2
@@ -40,8 +40,16 @@ · 39 unmodified lines
4040
4141 #include <linux/types.h>
4242
43−#define VIRTIO_GPU_F_VIRGL 0
44−#define VIRTIO_GPU_F_EDID 1
43+/*
44+ * VIRTIO_GPU_CMD_CTX_*
45+ * VIRTIO_GPU_CMD_*_3D
46+ */
47+#define VIRTIO_GPU_F_VIRGL 0
48+
49+/*
50+ * VIRTIO_GPU_CMD_GET_EDID
51+ */
52+#define VIRTIO_GPU_F_EDID 1
4553
4654 enum virtio_gpu_ctrl_type {
4755 VIRTIO_GPU_UNDEFINED = 0,