diff -rupN linux.orig/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi linux/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi --- linux.orig/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi 2023-09-12 12:02:56.937601871 +0000 +++ linux/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi 2023-09-12 12:03:27.490291628 +0000 @@ -2394,14 +2391,20 @@ }; mali: gpu@ffe40000 { - compatible = "amlogic,meson-g12a-mali", "arm,mali-bifrost"; - reg = <0x0 0xffe40000 0x0 0x40000>; + compatible = "arm,mali-midgard"; + reg = <0x0 0xffe40000 0x0 0x40000>, + <0 0xFFD01000 0 0x01000>, + <0 0xFF800000 0 0x01000>, + <0 0xFF63c000 0 0x01000>, + <0 0xFFD01000 0 0x01000>; + interrupt-parent = <&gic>; - interrupts = , + interrupts = , , - ; - interrupt-names = "job", "mmu", "gpu"; + ; + interrupt-names = "GPU", "MMU", "JOB"; clocks = <&clkc CLKID_MALI>; + clock-names = "clk_mali"; resets = <&reset RESET_DVALIN_CAPB3>, <&reset RESET_DVALIN>; operating-points-v2 = <&gpu_opp_table>; #cooling-cells = <2>; diff -rupN linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi linux/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi --- linux.orig/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi 2023-09-12 12:02:56.937601871 +0000 +++ linux/arch/arm64/boot/dts/amlogic/meson-g12b.dtsi 2023-09-12 12:03:27.490291628 +0000 @@ -137,5 +139,6 @@ }; &mali { - dma-coherent; + system-coherency = <0>; + power_policy = "always_on"; };