diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-04-10 13:42:25 +0200 |
---|---|---|
committer | Alistair Delva <adelva@google.com> | 2020-04-17 13:49:34 -0700 |
commit | ffd01edc77002e702b13114632bc0c69132bf075 (patch) | |
tree | bcecb8f17b5ec41659f5d2b609c52327b7ebabf1 /include/uapi | |
parent | 7c3250e0dfdb8878ae2bf5e9f8fe79e7fa925ea8 (diff) |
UPSTREAM: 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
(cherry picked from commit beb941b970fb129dae206050593d3e768859b146)
Bug: 153580313
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I8130b6a04aea46f8f6ea8f4ab14acccf0c1932eb
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/virtio_gpu.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h index 3d6d63f9237c..01d4681e796d 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, |