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

Tina Zhang tina.zhang at intel.com
Tue May 11 01:49:37 UTC 2021


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(-)

-- 
2.25.1



More information about the dri-devel mailing list