Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20210722024434.3313167-1-bjorn.andersson@linaro.org
Signed-off-by: Rob Clark <robdclark@chromium.org>

authored by

Bjorn Andersson and committed by
Rob Clark
f9a39932 7591c532

+1
+1
drivers/gpu/drm/msm/dp/dp_catalog.c
··· 771 771 dp_write_link(catalog, REG_DP_HSYNC_VSYNC_WIDTH_POLARITY, 772 772 dp_catalog->width_blanking); 773 773 dp_write_link(catalog, REG_DP_ACTIVE_HOR_VER, dp_catalog->dp_active); 774 + dp_write_p0(catalog, MMSS_DP_INTF_CONFIG, 0); 774 775 return 0; 775 776 } 776 777