drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
authorKuogee Hsieh <quic_khsieh@quicinc.com>
Wed, 24 Aug 2022 20:15:50 +0000 (13:15 -0700)
committerRob Clark <robdclark@chromium.org>
Sun, 18 Sep 2022 16:38:04 +0000 (09:38 -0700)
commitaa0bff10af1c4b92e6b56e3e1b7f81c660d3ba78
tree6955b637ea62427aa34fb9be2c36504b38fba2f6
parente40261156829d66ec4644243bc31e1831733638f
drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()

At current implementation there is an extra 0 at 1.62G link rate which
cause no correct pixel_div selected for 1.62G link rate to calculate
mvid and nvid. This patch delete the extra 0 to have mvid and nvid be
calculated correctly.

Changes in v2:
-- fix Fixes tag's text

Changes in v3:
-- fix misspelling of "Reviewed-by"

Fixes: 937f941ca06f  ("drm/msm/dp: Use qmp phy for DP PLL and PHY")
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/499328/
Link: https://lore.kernel.org/r/1661372150-3764-1-git-send-email-quic_khsieh@quicinc.com
[DB: rewrapped commit message]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_catalog.c