From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: [PATCH 1/3] virtio-gpu api: comment feature flags Date: Wed, 10 Apr 2019 13:42:25 +0200 Message-ID: <20190410114227.25846-2-kraxel@redhat.com> References: <20190410114227.25846-1-kraxel@redhat.com> Return-path: In-Reply-To: <20190410114227.25846-1-kraxel@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org, virtio@lists.oasis-open.org Cc: David Airlie , "Michael S. Tsirkin" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Tomeu Vizoso , Gurchetan Singh , Gerd Hoffmann , Jason Wang , David Airlie , "open list:VIRTIO CORE, NET AND BLOCK DRIVERS" , open list List-Id: dri-devel@lists.freedesktop.org Add comments to the existing feature flags, documenting which commands belong to them. Signed-off-by: Gerd Hoffmann --- 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 -#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