[PATCH v1] drm/vkms: Add writeback encoders as possible clones
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Sun Jul 6 11:29:06 UTC 2025
On Thu, Jul 03, 2025 at 11:03:35AM +0200, Robert Mader wrote:
> Since commit 41b4b11da0215 ("drm: Add valid clones check") setting
> the `possible_clones` values is a hard requirement for cloning.
> `vkms` supports cloning for writeback connectors in order to capture
> CRTC content, however that broke with said commit.
>
> Writeback connectors are created on a per-CRTC basis, thus mark
> every non-writeback connector that is compatible with a given CRTC
> as possible clone - and vice-versa.
>
> Using a default configuration, the corresponding `drm_info` output
> changes from:
It feels like the current possible_clones is incorrect according to the
documentation. Should there be a Fixes tag?
>
>
> Signed-off-by: Robert Mader <robert.mader at collabora.com>
> ---
> drivers/gpu/drm/vkms/vkms_output.c | 12 ++++++++++++
> drivers/gpu/drm/vkms/vkms_writeback.c | 2 ++
> 2 files changed, 14 insertions(+)
>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list