On 29/01/25 - 12:00, José Expósito wrote:
> Add a list of connectors to vkms_config and helper functions to add and
> remove as many connectors as wanted.
> 
> Unlike planes, CRTCs and encoders, connectors can be added and removed
> once the device is created. To reflect it, add an "enabled" flag in the
> configuration and filter disabled connectors in the
> vkms_config_get_connectors() function.
> 
> For the moment, changing the enabled status of the connector has no
> effect after the device is created, but a future patch will add this
> capability.
> 
> 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.
> 
> Signed-off-by: Louis Chauvet <[email protected]>
> Signed-off-by: José Expósito <[email protected]>

Co-developped-by: Louis Chauvet <[email protected]>
Signed-off-by: Louis Chauvet <[email protected]>
Signed-off-by: José Expósito <[email protected]>

Same comments as previous commits:
- I am not fan of the add/destroy naming
- I think it is better to have an iterator to use connectors

Reply via email to