Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: glymur-dispcc: Stop mdss_mdp and mdss_ahb clk_src from getting parked
@ 2026-11-23 20:48 Tobias Heider
  2026-11-23 20:52 ` sashiko-bot
  2026-11-23 21:09 ` Hans de Goede
  0 siblings, 2 replies; 3+ messages in thread
From: Tobias Heider @ 2026-11-23 20:48 UTC (permalink / raw)
  To: Bjorn Andersson, Abel Vesa, Stephen Boyd, Brian Masney,
	Jerome Brunet
  Cc: Hans de Goede, Dmitry Baryshkov, linux-arm-msm, linux-clk,
	Tobias Heider

Parking disp_cc_mdss_mdp_clk_src and disp_cc_mdss_ahb_clk_src at 19.2MHz
kills the EFI GOP framebuffer. The EFI GOP framebuffer should keep working
until the msm display driver loads, to help with boot debugging and to
ensure display output when the msm module is not in the initramfs.

Switch both disp_cc_mdss_mdp_clk_src and disp_cc_mdss_ahb_clk_src over
to clk_rcg2_shared_no_init_park_ops to keep the EFI framebuffer working
after binding the glymur-dispcc driver, following the
precedent of commit bc27dbefae6e ("clk: qcom: x1e80100-dispcc: Stop
disp_cc_mdss_mdp_clk_src from getting parked") and
commit 5285b0467578 ("clk: qcom: dispcc-sc8280xp: Don't park mdp_clk_src
at registration time")'

Unlike x1e80100, where mdss_ahb is never parked, glymur's ahb also
gets parked. Unparking disp_cc_mdss_mdp_clk_src alone was tested
on the HP EliteBook X G2q and is not sufficient: the EFI GOP still
dies unless disp_cc_mdss_ahb_clk_src is left un-parked as well.

Signed-off-by: Tobias Heider <tobias.heider@canonical.com>
---
 drivers/clk/qcom/dispcc-glymur.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/qcom/dispcc-glymur.c b/drivers/clk/qcom/dispcc-glymur.c
index 32cc5226b4de7..6eb4ca8b3e771 100644
--- a/drivers/clk/qcom/dispcc-glymur.c
+++ b/drivers/clk/qcom/dispcc-glymur.c
@@ -312,7 +312,7 @@ static struct clk_rcg2 disp_cc_mdss_ahb_clk_src = {
 		.parent_data = disp_cc_parent_data_6,
 		.num_parents = ARRAY_SIZE(disp_cc_parent_data_6),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_shared_ops,
+		.ops = &clk_rcg2_shared_no_init_park_ops,
 	},
 };
 
@@ -623,7 +623,7 @@ static struct clk_rcg2 disp_cc_mdss_mdp_clk_src = {
 		.parent_data = disp_cc_parent_data_7,
 		.num_parents = ARRAY_SIZE(disp_cc_parent_data_7),
 		.flags = CLK_SET_RATE_PARENT,
-		.ops = &clk_rcg2_shared_ops,
+		.ops = &clk_rcg2_shared_no_init_park_ops,
 	},
 };
 

---
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
change-id: 20261123-glymur-dispcc-park-53b7642cd626

Best regards,
-- 
Tobias Heider <tobias.heider@canonical.com>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-23 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 20:48 [PATCH] clk: qcom: glymur-dispcc: Stop mdss_mdp and mdss_ahb clk_src from getting parked Tobias Heider
2026-11-23 20:52 ` sashiko-bot
2026-11-23 21:09 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox