diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-07-21 19:44:34 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-07-27 08:14:57 -0700 |
commit | f9a39932fa54b6421e751ada7a285da809146421 (patch) | |
tree | c7c17cc240017d7d063aeba0bf35eb45d3e0300b | |
parent | 7591c532b818ef4b8e3e635d842547c08b3a32b4 (diff) | |
download | lwn-f9a39932fa54b6421e751ada7a285da809146421.tar.gz lwn-f9a39932fa54b6421e751ada7a285da809146421.zip |
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>
-rw-r--r-- | drivers/gpu/drm/msm/dp/dp_catalog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers/gpu/drm/msm/dp/dp_catalog.c index ca96e3514790..c0423e76eed7 100644 --- a/drivers/gpu/drm/msm/dp/dp_catalog.c +++ b/drivers/gpu/drm/msm/dp/dp_catalog.c @@ -771,6 +771,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; } |