public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/5] drm/vkms: Introduces writeback support
@ 2019-06-18  2:41 Rodrigo Siqueira
  2019-06-18  2:42 ` [PATCH V2 1/5] drm/vkms: Move functions from vkms_crc to vkms_composer Rodrigo Siqueira
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Rodrigo Siqueira @ 2019-06-18  2:41 UTC (permalink / raw)
  To: Brian Starkey, Liviu Dudau, Daniel Vetter, Haneen Mohammed,
	Simon Ser
  Cc: dri-devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-06-18 22:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18  2:41 [PATCH V2 0/5] drm/vkms: Introduces writeback support Rodrigo Siqueira
2019-06-18  2:42 ` [PATCH V2 1/5] drm/vkms: Move functions from vkms_crc to vkms_composer Rodrigo Siqueira
2019-06-18  9:27   ` Daniel Vetter
2019-06-18  2:43 ` [PATCH V2 2/5] drm/vkms: Rename crc_enabled to composer_enabled Rodrigo Siqueira
2019-06-18  2:45 ` [PATCH V2 3/5] drm/vkms: Rename vkms_crc_data to vkms_data Rodrigo Siqueira
2019-06-18  2:45 ` [PATCH V2 4/5] drm/vkms: Use index instead of 0 in possible crtc Rodrigo Siqueira
2019-06-18  7:56   ` Simon Ser
2019-06-18 11:09     ` Daniel Vetter
2019-06-18  9:29   ` Daniel Vetter
2019-06-18  2:45 ` [PATCH V2 5/5] drm/vkms: Add support for writeback Rodrigo Siqueira
2019-06-18  9:33   ` Daniel Vetter
2019-06-18 22:10     ` Rodrigo Siqueira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox