Skip to contentSkip to conversation

drm/msm/dp: Initialize the INTF_CONFIG register

PATCH In review Bjorn Andersson 2 participants 2 messages Jul 22, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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")
---
 drivers/gpu/drm/msm/dp/dp_catalog.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/msm/dp/dp_catalog.c +1 -0
index 23458b0ddc37..37cb1102a0ca 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

Quoting Bjorn Andersson (2021-07-21 19:44:34)

Quoted 7 lines

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")

---