[PATCH 1/3] virtio-gpu api: comment feature flags
Gurchetan Singh
gurchetansingh at chromium.org
Thu Apr 11 01:03:19 UTC 2019
On Wed, Apr 10, 2019 at 4:42 AM Gerd Hoffmann <kraxel at redhat.com> wrote:
> Add comments to the existing feature flags,
> documenting which commands belong to them.
>
> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
>
This patch is:
Reviewed-by: Gurchetan Singh <gurchetansingh at chromium.org>
> ---
> include/uapi/linux/virtio_gpu.h | 12 ++++++++++--
> 1 file 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,
> --
> 2.18.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190410/49ac064c/attachment.html>
More information about the dri-devel
mailing list