On Tuesday, June 6th, 2023 at 22:26, Harry Wentland <harry.wentl...@amd.com> 
wrote:

> -int drm_mode_create_hdmi_colorspace_property(struct drm_connector *connector)
> +int drm_mode_create_hdmi_colorspace_property(struct drm_connector *connector,
> +                                          u32 supported_colorspaces)
>  {
> -     return drm_mode_create_colorspace_property(connector, hdmi_colorspaces);
> +     u32 colorspaces = supported_colorspaces & hdmi_colorspaces;

This creates a potentially weird situation where the driver passes a
non-0 supported_colorspaces, but the intersection with hdmi_colorspaces
ends up being empty, and all colorspaces end up being advertised.

Reply via email to