linux/include/drm/bridge
Algea Cao 38e112d31c drm/bridge: synopsys: dw-hdmi: Check whether color has changed in connector atomic_check
For compatibility with GKI, connector atomic_begin/atomic_flush should
be removed. If hdmi color format has changed, set flag mode_changed
true and start a modeset to config hdmi.

We check whether color format has changed in
dw_hdmi_connector_atomic_check(), but color format variable update in
dw_hdmi_rockchip_encoder_atomic_check(), It runs after
dw_hdmi_connector_atomic_check(). That will lead to misjudgments when
determining whether color format has changed.

To solve this problem, we introduce get_color_changed(). When color
properties are set and color format is changed, get_color_changed()
return true.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Id1fbe80171856f91efa5ae40a0e0608a92ebcbf7
2020-08-27 14:22:49 +08:00
..
analogix_dp.h drm/rockchip: analogix_dp: Add support for RK3368 2020-02-25 15:42:03 +08:00
dw_hdmi.h drm/bridge: synopsys: dw-hdmi: Check whether color has changed in connector atomic_check 2020-08-27 14:22:49 +08:00
dw_mipi_dsi.h drm/bridge/synopsys: stop clobbering drvdata 2018-01-09 14:34:38 +01:00
mhl.h drm/bridge/sii8620: add remote control support 2017-10-11 13:14:25 +02:00