* [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* Re: [PATCH] clk: qcom: glymur-dispcc: Stop mdss_mdp and mdss_ahb clk_src from getting parked
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
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-11-23 20:52 UTC (permalink / raw)
To: Tobias Heider; +Cc: linux-clk
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] clk: qcom: dispcc-glymur: missing Fixes: trailer on bug-fix
commit
--
commit d6b4721a4b28e59b4b633b11337db01bb5f1e588
Author: Tobias Heider <tobias.heider@canonical.com>
> clk: qcom: glymur-dispcc: Stop mdss_mdp and mdss_ahb clk_src from getting parked
>
> 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>
[Severity: Low]
As in the precedent commits cited in the changelog, should this include a
Fixes: tag for the commit that introduced disp_cc_mdss_ahb_clk_src and
disp_cc_mdss_mdp_clk_src with clk_rcg2_shared_ops?
Fixes: b4d15211c408 ("clk: qcom: dispcc-glymur: Add support for Display Clock Controller")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-glymur-dispcc-park-v1-1-d636ef8e04f6@canonical.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] clk: qcom: glymur-dispcc: Stop mdss_mdp and mdss_ahb clk_src from getting parked
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
1 sibling, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2026-11-23 21:09 UTC (permalink / raw)
To: Tobias Heider, Bjorn Andersson, Abel Vesa, Stephen Boyd,
Brian Masney, Jerome Brunet
Cc: Dmitry Baryshkov, linux-arm-msm, linux-clk
Hi,
On 23-Nov-26 21:48, Tobias Heider wrote:
> 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>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Regards,
Hans
> ---
> 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,
^ permalink raw reply [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;
as well as URLs for NNTP newsgroup(s).