]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vkms: Allow to configure multiple connectors
authorJosé Expósito <jose.exposito89@gmail.com>
Tue, 18 Feb 2025 10:12:13 +0000 (11:12 +0100)
committerMaxime Ripard <mripard@kernel.org>
Fri, 7 Mar 2025 09:58:28 +0000 (10:58 +0100)
commitda38c72018e28b08197975cec7ffd5e07f189a9c
treea6c71e83d941dcee4c05a13afd3f787eae4d607e
parentb8776fc9b2863c55193f66e1146a89bbccd2b4e0
drm/vkms: Allow to configure multiple connectors

Add a list of connectors to vkms_config and helper functions to add and
remove as many connectors as wanted.

For backwards compatibility, add one enabled connector to the default
configuration.

A future patch will allow to attach connectors and encoders, but for the
moment there are no changes in the way the output is configured.

Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Co-developed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218101214.5790-14-jose.exposito89@gmail.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
.clang-format
drivers/gpu/drm/vkms/tests/vkms_config_test.c
drivers/gpu/drm/vkms/vkms_config.c
drivers/gpu/drm/vkms/vkms_config.h
drivers/gpu/drm/vkms/vkms_connector.c