Skip to content
/ linux Public

Commit 59a9810

Browse files
Petr HodinaSasha Levin
authored andcommitted
clk: qcom: dispcc-sdm845: Enable parents for pixel clocks
[ Upstream commit a1d6349 ] Add CLK_OPS_PARENT_ENABLE to MDSS pixel clock sources to ensure parent clocks are enabled during clock operations, preventing potential stability issues during display configuration. Fixes: 8135177 ("clk: qcom: Add display clock controller driver for SDM845") Signed-off-by: Petr Hodina <petr.hodina@protonmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: David Heidelberg <david@ixit.cz> Link: https://lore.kernel.org/r/20260107-stability-discussion-v2-1-ef7717b435ff@protonmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 92d938c commit 59a9810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clk/qcom/dispcc-sdm845.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk0_clk_src = {
280280
.name = "disp_cc_mdss_pclk0_clk_src",
281281
.parent_data = disp_cc_parent_data_4,
282282
.num_parents = ARRAY_SIZE(disp_cc_parent_data_4),
283-
.flags = CLK_SET_RATE_PARENT,
283+
.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
284284
.ops = &clk_pixel_ops,
285285
},
286286
};
@@ -295,7 +295,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk1_clk_src = {
295295
.name = "disp_cc_mdss_pclk1_clk_src",
296296
.parent_data = disp_cc_parent_data_4,
297297
.num_parents = ARRAY_SIZE(disp_cc_parent_data_4),
298-
.flags = CLK_SET_RATE_PARENT,
298+
.flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
299299
.ops = &clk_pixel_ops,
300300
},
301301
};

0 commit comments

Comments
 (0)