Skip to contentSkip to conversation

drm/virtio: Add DRM capset definition

PATCH Applied Dmitry Osipenko 2 participants 3 messages Jul 14, 2024 – Jul 24, 2024

Subsystems (2)
lore
Share & tools
lore

Dmitry Osipenko

author maintainer
#0 lore raw

PATCH 1/1 drm/virtio: Add DRM capset definition

Define DRM native context capset in the VirtIO-GPU protocol header.

---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/virtio_gpu.h +1 -0
index 0e21f3998108..bf2c9cabd207 100644
@@ -311,6 +311,7 @@ struct virtio_gpu_cmd_submit {
 #define VIRTIO_GPU_CAPSET_VIRGL2 2
 /* 3 is reserved for gfxstream */
 #define VIRTIO_GPU_CAPSET_VENUS 4
+#define VIRTIO_GPU_CAPSET_DRM 6
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {
Signature · 1 line
2.45.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Dmitry Osipenko

Define DRM native context capset in the VirtIO-GPU protocol header.

Quoted 19 lines
---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/virtio_gpu.h +1 -1
index 0e21f3998108..bf2c9cabd207 100644
@@ -311,6 +311,7 @@ struct virtio_gpu_cmd_submit {
 #define VIRTIO_GPU_CAPSET_VIRGL2 2
 /* 3 is reserved for gfxstream */
 #define VIRTIO_GPU_CAPSET_VENUS 4
+#define VIRTIO_GPU_CAPSET_DRM 6
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {
--

2.45.2

author maintainer Applied
#2 lore raw
In reply to Dmitry Osipenko
Quoted 12 lines · Dmitry Osipenko

Define DRM native context capset in the VirtIO-GPU protocol header.

---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/virtio_gpu.h +0 -0
index 0e21f3998108..bf2c9cabd207 100644

include/uapi/linux/virtio_gpu.h struct virtio_gpu_cmd_submit { · line 317

Quoted 7 lines
include/uapi/linux/virtio_gpu.h +1 -0
@@ -311,6 +311,7 @@ struct virtio_gpu_cmd_submit {
 #define VIRTIO_GPU_CAPSET_VIRGL2 2
 /* 3 is reserved for gfxstream */
 #define VIRTIO_GPU_CAPSET_VENUS 4
+#define VIRTIO_GPU_CAPSET_DRM 6
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {

Applied to misc-next

Signature · 2 lines
Best regards,
Dmitry