mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
drm/bridge: synopsys: dw-hdmi-qp: Fix frl switch error when switching resolution and color at the same time
When switching resolution and color at same commit, current judgment conditions will cause the hdmi switching process will not run properly if switching from tmds resolution to frl resolution. So we need to add the judgment of the resolution before and after the switch. Change-Id: I96e304acf224bcfd01edba9df64a3d6b96a2c90d Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -2597,7 +2597,7 @@ static int dw_hdmi_connector_atomic_check(struct drm_connector *connector,
|
||||
hdmi_modb(hdmi, PKTSCHED_GCP_TX_EN, PKTSCHED_GCP_TX_EN, PKTSCHED_PKT_EN);
|
||||
mdelay(50);
|
||||
} else if (!hdmi->disabled) {
|
||||
if (mode.clock > 600000)
|
||||
if (hdmi->previous_mode.clock > 600000 && mode.clock > 600000)
|
||||
hdmi->frl_switch = true;
|
||||
hdmi->update = false;
|
||||
crtc_state->mode_changed = true;
|
||||
|
||||
Reference in New Issue
Block a user