Re: [PATCH RESEND v2 28/32] drm/vkms: Store the enabled/disabled status for connector

From: Luca Ceresoli

Date: Fri Dec 19 2025 - 13:57:46 EST


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 <jose.exposito89@xxxxxxxxx>
> Signed-off-by: José Expósito <jose.exposito89@xxxxxxxxx>
> Signed-off-by: Louis Chauvet <louis.chauvet@xxxxxxxxxxx>

> --- 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 <luca.ceresoli@xxxxxxxxxxx>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com