drm/msm/dp: Initialize the INTF_CONFIG register
PATCH 1/1 drm/msm/dp: Initialize the INTF_CONFIG register
Some bootloaders set the widebus enable bit in the INTF_CONFIG register, but configuration of widebus isn't yet supported ensure that the register has a known value, with widebus disabled.
Fixes c943b4948b58 ("drm/msm/dp: add displayPort driver support")
Signed-off-by Bjorn Andersson <[email protected]>
--- drivers/gpu/drm/msm/dp/dp_catalog.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/dp/dp_catalog.c +1 -0
@@ -747,6 +747,7 @@ int dp_catalog_panel_timing_cfg(struct dp_catalog *dp_catalog)dp_write_link (catalog,REG_DP_HSYNC_VSYNC_WIDTH_POLARITY , dp_catalog->width_blanking);dp_write_link (catalog,REG_DP_ACTIVE_HOR_VER , dp_catalog->dp_active); +dp_write_p0 (catalog,MMSS_DP_INTF_CONFIG ,0 );return 0 ; }
Signature · 1 line
2.29.2
Quoting Bjorn Andersson (2021-07-21 19:44:34)
Quoted 7 lines
Some bootloaders set the widebus enable bit in the
INTF_CONFIGregister, but configuration of widebus isn't yet supported ensure that the register has a known value, with widebus disabled.Fixes c943b4948b58 ("drm/msm/dp: add displayPort driver support")Signed-off-by Bjorn Andersson <[email protected]>---
Reviewed-by Stephen Boyd <[email protected]>