[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1560820888.git.rodrigosiqueiramelo@gmail.com>
Date: Mon, 17 Jun 2019 23:41:55 -0300
From: Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>
To: Brian Starkey <brian.starkey@....com>,
Liviu Dudau <liviu.dudau@....com>,
Daniel Vetter <daniel@...ll.ch>,
Haneen Mohammed <hamohammed.sa@...il.com>,
Simon Ser <contact@...rsion.fr>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH V2 0/5] drm/vkms: Introduces writeback support
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
Powered by blists - more mailing lists