[PATCH V2 0/5] drm/vkms: Introduces writeback support

Rodrigo Siqueira rodrigosiqueiramelo at gmail.com
Tue Jun 18 02:41:55 UTC 2019


This patchset introduces the writeback support to vkms. As a pre-work,
the first set of patches separates part of the code inside vkms_crc to a
new file named vkms_composer; this change allows that other parts of the
vkms take advantage of composing functions. Next, there's a patch that
enables the virtual encoder to be compatible with the crtc when we have
multiple encoders. The final patch adds the required implementation to
enable writeback in the vkms. With this patchset, vkms can successfully
pass all the kms_writeback tests from IGT.

Note: This patchset depends on Daniel's rework of CRC, see it at
https://patchwork.freedesktop.org/series/61737/

Rodrigo Siqueira (5):
  drm/vkms: Move functions from vkms_crc to vkms_composer
  drm/vkms: Rename crc_enabled to composer_enabled
  drm/vkms: Rename vkms_crc_data to vkms_data
  drm/vkms: Use index instead of 0 in possible crtc
  drm/vkms: Add support for writeback

 drivers/gpu/drm/vkms/Makefile         |  10 +-
 drivers/gpu/drm/vkms/vkms_composer.c  |  69 +++++++++++
 drivers/gpu/drm/vkms/vkms_composer.h  |  12 ++
 drivers/gpu/drm/vkms/vkms_crc.c       |  81 ++-----------
 drivers/gpu/drm/vkms/vkms_crtc.c      |   2 +-
 drivers/gpu/drm/vkms/vkms_drv.c       |   9 +-
 drivers/gpu/drm/vkms/vkms_drv.h       |  18 ++-
 drivers/gpu/drm/vkms/vkms_output.c    |  12 +-
 drivers/gpu/drm/vkms/vkms_plane.c     |  40 +++----
 drivers/gpu/drm/vkms/vkms_writeback.c | 166 ++++++++++++++++++++++++++
 10 files changed, 315 insertions(+), 104 deletions(-)
 create mode 100644 drivers/gpu/drm/vkms/vkms_composer.c
 create mode 100644 drivers/gpu/drm/vkms/vkms_composer.h
 create mode 100644 drivers/gpu/drm/vkms/vkms_writeback.c

-- 
2.21.0


More information about the dri-devel mailing list