projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7efb5f3
)
virtio-gpu api: Add a comment on VIRTIO_GPU_SHM_ID_HOST_VISIBLE
author
Anthoine Bourgeois
<anthoine.bourgeois@gmail.com>
Thu, 19 Nov 2020 01:08:07 +0000
(17:08 -0800)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 20 Nov 2020 09:44:41 +0000
(10:44 +0100)
This provides a description of how the kernel driver uses the
shmid to determine capabilities.
Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/20201119010809.528-3-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <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 0ec6b610402cb65e7ccc36338f86ccdd353b3b6d..97523a95781dbe67cf30f35307ea9abdecb7fd50 100644
(file)
--- a/
include/uapi/linux/virtio_gpu.h
+++ b/
include/uapi/linux/virtio_gpu.h
@@
-115,6
+115,10
@@
enum virtio_gpu_ctrl_type {
enum virtio_gpu_shm_id {
VIRTIO_GPU_SHM_ID_UNDEFINED = 0,
+ /*
+ * VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB
+ * VIRTIO_GPU_CMD_RESOURCE_UNMAP_BLOB
+ */
VIRTIO_GPU_SHM_ID_HOST_VISIBLE = 1
};