Skip to content

Commit 44cf630

Browse files
xdarklightsuperna9999
authored andcommitted
ARM: dts: meson8: Use a higher default GPU clock frequency
We are seeing "imprecise external abort (0x1406)" errors during boot (which then cause the whole board to hang) on Meson8 (but not Meson8m2). These are observed while trying to access the GPU's registers when the MALI clock is running at it's default setting of 24MHz. The 3.10 vendor kernel uses 318.75MHz as "default" GPU frequency. Using that makes the "imprecise external aborts" go away. Add the assigned-clocks and assigned-clock-rates properties to also bump the MALI clock to 318.75MHz before accessing any of it's registers. Fixes: 7d3f6b5 ("ARM: dts: meson8: add the Mali-450 MP6 GPU") Reported-by: Demetris Ierokipides <[email protected]> Signed-off-by: Martin Blumenstingl <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e73f0f0 commit 44cf630

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/arm/boot/dts/meson8.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,13 @@
304304
"pp2", "ppmmu2", "pp4", "ppmmu4",
305305
"pp5", "ppmmu5", "pp6", "ppmmu6";
306306
resets = <&reset RESET_MALI>;
307+
307308
clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>;
308309
clock-names = "bus", "core";
310+
311+
assigned-clocks = <&clkc CLKID_MALI>;
312+
assigned-clock-rates = <318750000>;
313+
309314
operating-points-v2 = <&gpu_opp_table>;
310315
#cooling-cells = <2>; /* min followed by max */
311316
};

0 commit comments

Comments
 (0)