mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-14 17:40:41 +09:00
drm/bridge/synopsys: Get mc_clkdis value from uboot.
When uboot logo is enabled, hdmi will not be setup again. In this case, kernel driver will set wrong mc_clkdis value when cec enable. So mc_clkdis should be got from uboot. Change-Id: Idb9984d981489287966f2719f6ed4c729a183b58 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -2627,6 +2627,7 @@ dw_hdmi_connector_atomic_flush(struct drm_connector *connector,
|
||||
hdmi->hdmi_data.video_mode.mpixelclock = mode->clock;
|
||||
hdmi->hdmi_data.video_mode.previous_pixelclock = mode->clock;
|
||||
hdmi->hdmi_data.video_mode.previous_tmdsclock = mode->clock;
|
||||
hdmi->mc_clkdis = hdmi_readb(hdmi, HDMI_MC_CLKDIS);
|
||||
hdmi->phy.enabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user