Re: [PATCH RESEND v2 25/32] drm/vkms: Introduce configfs for connector supported colorspace

From: Luca Ceresoli

Date: Fri Dec 19 2025 - 13:56:09 EST


On Wed Oct 29, 2025 at 3:37 PM CET, Louis Chauvet wrote:
> Add the attribute supported_colorspaces to configure the supported
> colorspace of a connector. It will allows emulating some HDR features of
> displays. This feature is only supported for HDMI, DP and eDP connectors.
>
> Signed-off-by: Louis Chauvet <louis.chauvet@xxxxxxxxxxx>
> --- a/drivers/gpu/drm/vkms/vkms_configfs.c
> +++ b/drivers/gpu/drm/vkms/vkms_configfs.c
> @@ -1223,12 +1223,51 @@ static ssize_t connector_type_store(struct config_item *item,
> return count;
> }
>
> +static ssize_t connector_supported_colorspaces_show(struct config_item *item, char *page)
> +{
> + struct vkms_configfs_connector *connector;
> + int type;

This variable name is not really intuitive. 'colorspaces' maybe?

With that change:

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

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