projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b9797
)
virtio-gpu api: comment feature flags
author
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 10 Apr 2019 11:42:25 +0000
(13:42 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 11 Apr 2019 15:00:10 +0000
(17:00 +0200)
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
include/uapi/linux/virtio_gpu.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/virtio_gpu.h
b/include/uapi/linux/virtio_gpu.h
index 8e88eba1fa7a1c457d519a62f1dd51747cfad504..0c85914d936929098778386fef0daca8345ccb9c 100644
(file)
--- 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,