]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: meson8: Use a higher default GPU clock frequency
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Jul 2021 21:40:23 +0000 (23:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 07:47:32 +0000 (09:47 +0200)
commita9ed7a13aa81d247529aa17f8769c8ddf6a3f0bc
tree935c4695cd806d7c992ab00a9a9474a730851150
parent030a06466acc9bd632a55afc67ff6a86c90b1b2a
ARM: dts: meson8: Use a higher default GPU clock frequency

[ Upstream commit 44cf630bcb8c5ec78125805c9447dd5766792224 ]

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: 2472c5164bb93b ("ARM: dts: meson8: add the Mali-450 MP6 GPU")
Reported-by: Demetris Ierokipides <ierokipides.dem@gmail.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20210711214023.2163565-1-martin.blumenstingl@googlemail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/meson8.dtsi