Skip to content

Commit

Permalink
drm: Fix HDMI hot-plug problem
Browse files Browse the repository at this point in the history
Fix HDMI hot-plug problem which occur at the time of
switching from 4K@60 t0 1080p@60 monitor.

Signed-off-by: forain <[email protected]>
  • Loading branch information
forain authored and Tianyu-Fu committed Jul 29, 2024
1 parent 2067e60 commit f784858
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,11 @@ static void hdmi_av_composer(struct dw_hdmi *hdmi,
HDMI_MC_SWRSTZ);
drm_scdc_set_scrambling(hdmi->curr_conn, 0);
}
} else {
hdmi_writeb(hdmi, 0, HDMI_FC_SCRAMBLER_CTRL);
hdmi_writeb(hdmi, (u8)~HDMI_MC_SWRSTZ_TMDSSWRST_REQ,
HDMI_MC_SWRSTZ);
drm_scdc_set_scrambling(hdmi->curr_conn, 0);
}

/* Set up horizontal active pixel width */
Expand Down

0 comments on commit f784858

Please sign in to comment.