linux-stable/drivers/gpu/drm/bridge/synopsys
Guillaume BRUN d3d6b1bf85 drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
Cheap monitors sometimes advertise YUV modes they don't really have
(HDMI specification mandates YUV support so even monitors without actual
support will often wrongfully advertise it) which results in YUV matches
and user forum complaints of a red tint to light colour display areas in
common desktop environments.

Moving the default RGB fall-back before YUV selection results in RGB
mode matching in most cases, reducing complaints.

Fixes: 6c3c719936 ("drm/bridge: synopsys: dw-hdmi: add bus format negociation")
Signed-off-by: Guillaume BRUN <the.cheaterman@gmail.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221116143523.2126-1-the.cheaterman@gmail.com
2022-12-01 09:24:04 +01:00
..
dw-hdmi-ahb-audio.c drm: bridge/dw-hdmi-ahb-audio: use strscpy() is more robust and safer 2022-09-20 08:59:13 +00:00
dw-hdmi-audio.h drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR 2021-11-12 10:05:45 +01:00
dw-hdmi-cec.c drm/bridge: dw-hdmi-cec: Make use of the helper function devm_add_action_or_reset() 2021-10-06 11:21:46 +02:00
dw-hdmi-cec.h
dw-hdmi-gp-audio.c drm: bridge: dw_hdmi: Audio: fix returnvar.cocci warnings 2022-04-22 10:38:35 +02:00
dw-hdmi-i2s-audio.c ASoC: hdmi-codec: Update to modern DAI terminology 2022-06-13 14:56:07 +01:00
dw-hdmi.c drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420 2022-12-01 09:24:04 +01:00
dw-hdmi.h drm: bridge: dw_hdmi: Audio: Add General Parallel Audio (GPA) driver 2022-04-19 18:23:48 +02:00
dw-mipi-dsi.c drm: bridge: dw-mipi-dsi: Switch to devm_drm_of_get_bridge 2022-03-31 17:52:48 +02:00
Kconfig drm/display: Move HDMI helpers into display-helper module 2022-04-25 11:19:36 +02:00
Makefile drm: bridge: dw_hdmi: Audio: Add General Parallel Audio (GPA) driver 2022-04-19 18:23:48 +02:00