Re: [PATCH v4 0/4] Fix ycbcr_420_allowed inconsistency for HDMI bridges
From: Dmitry Baryshkov
Date: Mon Jan 13 2025 - 04:30:33 EST
On Tue, 24 Dec 2024 20:22:40 +0200, Cristian Ciocaltea wrote:
> Bridges with DRM_BRIDGE_OP_HDMI set in drm_bridge->ops are expected to
> rely on drm_bridge->supported_formats to advertise the supported
> colorspaces, including HDMI_COLORSPACE_YUV420.
>
> However, when drm_bridge_connector gets initialised, only
> drm_bridge->ycbcr_420_allowed is considered in the process of adjusting
> the drm_connector->ycbcr_420_allowed, which effectively discards the
> formats advertised by the HDMI bridge.
>
> [...]
Applied to drm-misc-fixes, thanks!
[1/4] drm/bridge: Prioritize supported_formats over ycbcr_420_allowed
commit: d102ac39fbe181a6f0c9e98bc26bd94018657808
[2/4] drm/bridge-connector: Sync supported_formats with computed ycbcr_420_allowed
commit: 1bd1562d3522f7a846dad795359c31b371e6303b
[3/4] drm/connector: hdmi: Validate supported_formats matches ycbcr_420_allowed
commit: f2f96619590f944f74f3c2b0b57a6dcc5d13cd9f
[4/4] drm/tests: connector: Add ycbcr_420_allowed tests
commit: 93801b8c2d18546fdf807c8e3075e6df93960446
Best regards,
--
With best wishes
Dmitry