ARM: dts: meson: two GPU fixes
Subsystems (2)
Martin Blumenstingl
reviewercover ARM: dts: meson: two GPU fixes
While switching over to the main mesa git repository I was testing kmscube again. On my Meson8m2 board I noticed that two interrupts were correctly set up. This didn't cause any errors so far because on my setup the lima driver is using the "pp_bcast" interrupt instead of ppX and ppmmuX.
While fixing the interrupt lines I also noticed that I accidentally left the switch-delay property in there. That was needed at some point to run the out-of-tree lima kernel driver. It's not required anymore and it's not documented so drop it.
Target release: v5.2 (if possible because this is where the lima kernel driver will land). No need to send it for v5.1-rcX because there lima driver won't be part of v5.1.
Martin Blumenstingl (2):
ARM: dts: meson8: fix GPU interrupts and drop an undocumented property
ARM: dts: meson8b: drop undocumented property from the Mali GPU node
arch/arm/boot/dts/meson8.dtsi | 5 ++--- arch/arm/boot/dts/meson8b.dtsi | 1 - 2 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.21.0
Martin Blumenstingl
reviewerPATCH 1/2 ARM: dts: meson8: fix GPU interrupts and drop an undocumented property
The interrupts in Amlogic's vendor kernel sources are all contiguous. There are two typos leading to pp2 and pp4 as well as ppmmu2 and ppmmu4 incorrectly sharing the same interrupt line.
Fix this by using interrupt 170 for pp2 and 171 for ppmmu2.
Also drop the undocumented "switch-delay" which is a left-over from my experiments with an early lima kernel driver when it was still out-of-tree and required this property on Amlogic SoCs.
--- arch/arm/boot/dts/meson8.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/meson8.dtsi +2 -3
@@ -248,8 +248,8 @@ <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
@@ -264,7 +264,6 @@ clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; clock-names = "bus", "core"; operating-points-v2 = <&gpu_opp_table>; - switch-delay = <0xffff>; }; }; }; /* end of / */
Signature · 1 line
2.21.0
Martin Blumenstingl
reviewerPATCH 2/2 ARM: dts: meson8b: drop undocumented property from the Mali GPU node
In reply to Martin BlumenstinglDrop the undocumented "switch-delay" which is a left-over from my experiments with an early lima kernel driver when it was still out-of-tree and required this property on Amlogic SoCs.
--- arch/arm/boot/dts/meson8b.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/meson8b.dtsi +0 -1
@@ -229,7 +229,6 @@ clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; clock-names = "bus", "core"; operating-points-v2 = <&gpu_opp_table>; - switch-delay = <0xffff>; }; }; }; /* end of / */
Signature · 1 line
2.21.0
Kevin Hilman
maintainerQuoted 6 lines · Martin Blumenstingl
While switching over to the main mesa git repository I was testing kmscube again. On my Meson8m2 board I noticed that two interrupts were correctly set up. This didn't cause any errors so far because on my setup the lima driver is using the "
pp_bcast" interrupt instead of ppX and ppmmuX.
Quoted 8 lines
While fixing the interrupt lines I also noticed that I accidentally left the switch-delay property in there. That was needed at some point to run the out-of-tree lima kernel driver. It's not required anymore and it's not documented so drop it.
Target release: v5.2 (if possible because this is where the lima kernel driver will land). No need to send it for v5.1-rcX because there lima driver won't be part of v5.1.
Queued as fixes for v5.2. I'll submit when v5.2-rc1 comes out.
For now, they're in my tree (branch: v5.2/fixes) and included in my for-next branch for some broader testing.
Thanks,
Kevin