Skip to content

RFC Add virtio-gpu modifiers support

Tina Zhang dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: Add drm_plane_add_modifiers()drivers/gpu/drm/drm_plane.c include/drm/drm_plane.h+44 -01 reply
2/3drm/virtio: Add modifier supportdrivers/gpu/drm/virtio/virtgpu_drv.h drivers/gpu/drm/virtio/virtgpu_kms.c drivers/gpu/drm/virtio/virtgpu_plane.c +2 more+72 -00 replies
3/3drm/virtio: Include modifier as part of set_scanout_blobdrivers/gpu/drm/virtio/virtgpu_vq.c include/uapi/linux/virtio_gpu.h+3 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/3] Add virtio-gpu modifiers support

This patchset introduces the modifiers support to virtio-gpu.

This RFC version tries to add a new virtio-gpu command to let front-end driver query the modifiers' info from the backend. Besides, the front-end driver may also need a new drm helper function to add the supported modifiers to a plane as its properties and allow fbs to use modifiers on that plane.

Tina Zhang (2):
drm: Add drm_plane_add_modifiers()
drm/virtio: Add modifier support

Vivek Kasireddy (1):
drm/virtio: Include modifier as part of set_scanout_blob

 drivers/gpu/drm/drm_plane.c            | 41 +++++++++++++++++++++++
 drivers/gpu/drm/virtio/virtgpu_drv.h   |  3 ++
 drivers/gpu/drm/virtio/virtgpu_kms.c   |  3 ++
 drivers/gpu/drm/virtio/virtgpu_plane.c | 16 +++++++++
 drivers/gpu/drm/virtio/virtgpu_vq.c    | 45 +++++++++++++++++++++++++-
 include/drm/drm_plane.h                |  3 ++
 include/uapi/linux/virtio_gpu.h        |  9 ++++++
 7 files changed, 119 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1