On Fri, Feb 27, 2026 at 08:20:09PM +0100, Nicolas Frattaroli wrote: > With the introduction of the "color format" DRM property, which allows > userspace to request a specific color format, the HDMI state helper > should implement this. > > Implement it by translating the requested drm_connector_color_format to > a drm_output_color_format enum value as per the logic HDMI should use > for this: Auto is translated to RGB, and a fallback to YUV420 is only > performed if the original color format was auto. > > Signed-off-by: Nicolas Frattaroli <[email protected]> > --- > drivers/gpu/drm/display/drm_hdmi_state_helper.c | 28 > +++++++++++++++++++++++-- > 1 file changed, 26 insertions(+), 2 deletions(-) >
Reviewed-by: Dmitry Baryshkov <[email protected]> -- With best wishes Dmitry
