drm/bridge: synopsys: dw-hdmi: Remove hpd_state judgment of atomic_begin and atomic_flush

There is no need to judge hpd status in atomic_begin and atomic_flush.
And this judgment may cause display error if TV make hpd status change
frequently.

Change-Id: I2ed87ef42b78a8faadc4bcc5b6b16d9390644903
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
Algea Cao
2018-12-26 10:02:20 +08:00
committed by Tao Huang
parent 7ab28c3914
commit 8aad83b839

View File

@@ -2578,7 +2578,7 @@ dw_hdmi_connector_atomic_begin(struct drm_connector *connector,
unsigned int enc_in_encoding;
unsigned int enc_out_encoding;
if (!hdmi->hpd_state || !conn_state->crtc)
if (!conn_state->crtc)
return;
if (!hdmi->hdmi_data.video_mode.mpixelclock)
@@ -2629,7 +2629,7 @@ dw_hdmi_connector_atomic_flush(struct drm_connector *connector,
unsigned int out_bus_format = hdmi->hdmi_data.enc_out_bus_format;
if (!hdmi->hpd_state || !conn_state->crtc)
if (!conn_state->crtc)
return;
DRM_DEBUG("%s\n", __func__);