Re: [PATCH] clk: mediatek: mt8189: Don't let the GPU reference mux retune MAINPLL

From: AngeloGioacchino Del Regno

Date: Tue Nov 17 2026 - 05:38:12 EST


On Sun, 11 Oct 2026 15:56:12 -0400, zoan37 wrote:
> mfg_sel_mfgpll selects the GPU clock from mfg_ref_sel or mfgpll and has
> CLK_SET_RATE_PARENT, so a GPU rate request (Panfrost devfreq) goes
> through __clk_mux_determine_rate(), which evaluates both parents.
> mfg_ref_sel is a MUX_GATE_CLR_SET_UPD() and so also has
> CLK_SET_RATE_PARENT, as does its mainpll_d6 parent: through it, any GPU
> OPP can be met exactly by retuning MAINPLL to six times the requested
> rate. mfg_ref_sel is parent 0, so it wins over mfgpll whenever both match.
>
> [...]

Applied to v7.4-next/clk, thanks!

[1/1] clk: mediatek: mt8189: Don't let the GPU reference mux retune MAINPLL
commit: 838ddf25b4f1350a115d8921b47e9bbaa773a26c

Cheers,
Angelo