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
40 40
41#include <linux/types.h>41#include <linux/types.h>
42 42
43#define VIRTIO_GPU_F_VIRGL 043/*
44#define VIRTIO_GPU_F_EDID 144 * 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
45 53
46enum virtio_gpu_ctrl_type {54enum virtio_gpu_ctrl_type {
47 VIRTIO_GPU_UNDEFINED = 0,55 VIRTIO_GPU_UNDEFINED = 0,