Hi,

On Thu, Sep 11, 2025 at 04:07:33PM +0300, Marius Vlad wrote:
> diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c
> index 45b42f14a750..74fe925c69a2 100644
> --- a/drivers/video/hdmi.c
> +++ b/drivers/video/hdmi.c
> @@ -1031,8 +1031,8 @@ static const char *hdmi_colorspace_get_name(enum 
> hdmi_colorspace colorspace)
>               return "YCbCr 4:4:4";
>       case HDMI_COLORSPACE_YUV420:
>               return "YCbCr 4:2:0";
> -     case HDMI_COLORSPACE_RESERVED4:
> -             return "Reserved (4)";
> +     case HDMI_COLORSPACE_AUTO:
> +             return "Auto";
>       case HDMI_COLORSPACE_RESERVED5:
>               return "Reserved (5)";
>       case HDMI_COLORSPACE_RESERVED6:
> diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h
> index 96bda41d9148..045402033763 100644
> --- a/include/linux/hdmi.h
> +++ b/include/linux/hdmi.h
> @@ -82,7 +82,7 @@ enum hdmi_colorspace {
>       HDMI_COLORSPACE_YUV422,
>       HDMI_COLORSPACE_YUV444,
>       HDMI_COLORSPACE_YUV420,
> -     HDMI_COLORSPACE_RESERVED4,
> +     HDMI_COLORSPACE_AUTO,
>       HDMI_COLORSPACE_RESERVED5,
>       HDMI_COLORSPACE_RESERVED6,
>       HDMI_COLORSPACE_IDO_DEFINED,

I'm not sure we can use hdmi_colorspace as is. This is the enum that
represents the colorspace encoded in the AVI infoframe, so we can't
change it, really.

Maxime

Attachment: signature.asc
Description: PGP signature

Reply via email to