Message ID | 20240714205502.3409718-1-dmitry.osipenko@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1] drm/virtio: Add DRM capset definition | expand |
On Sun, Jul 14, 2024 at 1:55 PM Dmitry Osipenko <dmitry.osipenko@collabora.com> wrote: > > Define DRM native context capset in the VirtIO-GPU protocol header. > > Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Reviewed-by: Rob Clark <robdclark@gmail.com> > --- > include/uapi/linux/virtio_gpu.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h > index 0e21f3998108..bf2c9cabd207 100644 > --- a/include/uapi/linux/virtio_gpu.h > +++ b/include/uapi/linux/virtio_gpu.h > @@ -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 >
On 7/14/24 23:55, Dmitry Osipenko wrote: > Define DRM native context capset in the VirtIO-GPU protocol header. > > Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> > --- > include/uapi/linux/virtio_gpu.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h > index 0e21f3998108..bf2c9cabd207 100644 > --- a/include/uapi/linux/virtio_gpu.h > +++ b/include/uapi/linux/virtio_gpu.h > @@ -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
diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h index 0e21f3998108..bf2c9cabd207 100644 --- a/include/uapi/linux/virtio_gpu.h +++ b/include/uapi/linux/virtio_gpu.h @@ -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 {
Define DRM native context capset in the VirtIO-GPU protocol header. Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> --- include/uapi/linux/virtio_gpu.h | 1 + 1 file changed, 1 insertion(+)