Re: [PATCH v3 33/33] drm/vkms: Introduce configfs for dynamic connector creation
From: Luca Ceresoli
Date: Tue Dec 23 2025 - 10:18:07 EST
On Mon Dec 22, 2025 at 11:11 AM CET, Louis Chauvet wrote:
> DRM allows the connector to be created after the device. To allows
> emulating this, add two configfs attributes to connector to allows this.
>
> Using the dynamic attribute you can set if a connector will be dynamic or
> not.
> Using the enabled attribute, you can set at runtime if a dynamic connector
> is present or not.
>
> 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>
[...]
> +static ssize_t connector_dynamic_show(struct config_item *item, char *page)
> +{
> + struct vkms_configfs_connector *connector;
> + bool enabled;
^^^^^^^
dynamic
With that fixed:
Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com