mbox series

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

Message ID 20210511014940.2067715-1-tina.zhang@intel.com (mailing list archive)
Headers show
Series Add virtio-gpu modifiers support | expand

Message

Tina Zhang May 11, 2021, 1:49 a.m. UTC
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(-)