Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/bridge: display-connector: allow YCbCr 420 for HDMI and DP

Allow YCbCr 420 output for HDMI and DisplayPort connectors. Other
bridges in the chain still might limit YCbCr 420 support on the
corresponding connector.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241019-bridge-yuv420-v1-3-d74efac9e4e6@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

+4
+4
drivers/gpu/drm/bridge/display-connector.c
··· 270 270 /* All the supported connector types support interlaced modes. */ 271 271 conn->bridge.interlace_allowed = true; 272 272 273 + if (type == DRM_MODE_CONNECTOR_HDMIA || 274 + type == DRM_MODE_CONNECTOR_DisplayPort) 275 + conn->bridge.ycbcr_420_allowed = true; 276 + 273 277 /* Get the optional connector label. */ 274 278 of_property_read_string(pdev->dev.of_node, "label", &label); 275 279