OSDN Git Service

drm/msm/dsi: Uncomment core_mmss clock for MSM8996
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Sun, 28 Feb 2021 12:43:26 +0000 (13:43 +0100)
committerRob Clark <robdclark@chromium.org>
Wed, 7 Apr 2021 18:05:44 +0000 (11:05 -0700)
The MSM8996 core_mmss clock was commented out due to some
strange issues that others were experiencing.

At least SONY Tone family is working perfectly fine with this clock
declared and gets it up and running without any error.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210228124328.136397-1-konrad.dybcio@somainline.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dsi/dsi_cfg.c

index b2ff68a..f3f1c03 100644 (file)
@@ -106,12 +106,8 @@ static const struct msm_dsi_config msm8994_dsi_cfg = {
        .num_dsi = 2,
 };
 
-/*
- * TODO: core_mmss_clk fails to enable for some reason, but things work fine
- * without it too. Figure out why it doesn't enable and uncomment below
- */
 static const char * const dsi_8996_bus_clk_names[] = {
-       "mdp_core", "iface", "bus", /* "core_mmss", */
+       "mdp_core", "iface", "bus", "core_mmss",
 };
 
 static const struct msm_dsi_config msm8996_dsi_cfg = {