On Wed Oct 29, 2025 at 3:37 PM CET, Louis Chauvet wrote:
In order to prepare for dynamic connector configuration, we need to store
if a connector is dynamic and if it is enabled.
The two new vkms_config_connector fields will helps for that.
Co-developed-by: José Expósito <redacted>
Signed-off-by: José Expósito <redacted>
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
quoted hunk ↗ jump to hunk
--- a/drivers/gpu/drm/vkms/vkms_config.h
+++ b/drivers/gpu/drm/vkms/vkms_config.h
@@ -130,6 +130,8 @@ struct vkms_config_encoder {
* @link: Link to the others connector in vkms_config
* @type: Store the type of connector using DRM_MODE_CONNECTOR_* values
* @config: The vkms_config this connector belongs to
+ * @dynamic: Store if a connector should be created with drm_connector_dynamic_init
+ * @enabled: If @dynamic, this means that the correct is currently registered in drm
^^^^^^^
"connector", I guess.
With that fixed:
Reviewed-by: Luca Ceresoli [off-list ref]
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com