From 425ee940735d7ecb3543890154744bda23af304b Mon Sep 17 00:00:00 2001 From: 5kft <5kft@users.noreply.github.com> Date: Sun, 30 Aug 2020 09:59:07 -0700 Subject: [PATCH] [ sunxi ] remove Mali GPU PMU module for the H5 reference: https://lore.kernel.org/patchwork/patch/1293422/ --- ...sun50i-h5-remove-mali-gpu-pmu-module.patch | 24 +++++++++++++++++++ ...sun50i-h5-remove-mali-gpu-pmu-module.patch | 24 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 patch/kernel/sunxi-current/sun50i-h5-remove-mali-gpu-pmu-module.patch create mode 100644 patch/kernel/sunxi-dev/sun50i-h5-remove-mali-gpu-pmu-module.patch diff --git a/patch/kernel/sunxi-current/sun50i-h5-remove-mali-gpu-pmu-module.patch b/patch/kernel/sunxi-current/sun50i-h5-remove-mali-gpu-pmu-module.patch new file mode 100644 index 0000000000..fbf4484c3a --- /dev/null +++ b/patch/kernel/sunxi-current/sun50i-h5-remove-mali-gpu-pmu-module.patch @@ -0,0 +1,24 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +index 45cebb2ed..595ad9830 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +@@ -167,8 +167,7 @@ mali: gpu@1e80000 { + , + , + , +- , +- ; ++ ; + interrupt-names = "gp", + "gpmmu", + "pp", +@@ -179,8 +178,7 @@ mali: gpu@1e80000 { + "pp2", + "ppmmu2", + "pp3", +- "ppmmu3", +- "pmu"; ++ "ppmmu3"; + clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; + clock-names = "bus", "core"; + resets = <&ccu RST_BUS_GPU>; diff --git a/patch/kernel/sunxi-dev/sun50i-h5-remove-mali-gpu-pmu-module.patch b/patch/kernel/sunxi-dev/sun50i-h5-remove-mali-gpu-pmu-module.patch new file mode 100644 index 0000000000..fbf4484c3a --- /dev/null +++ b/patch/kernel/sunxi-dev/sun50i-h5-remove-mali-gpu-pmu-module.patch @@ -0,0 +1,24 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +index 45cebb2ed..595ad9830 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +@@ -167,8 +167,7 @@ mali: gpu@1e80000 { + , + , + , +- , +- ; ++ ; + interrupt-names = "gp", + "gpmmu", + "pp", +@@ -179,8 +178,7 @@ mali: gpu@1e80000 { + "pp2", + "ppmmu2", + "pp3", +- "ppmmu3", +- "pmu"; ++ "ppmmu3"; + clocks = <&ccu CLK_BUS_GPU>, <&ccu CLK_GPU>; + clock-names = "bus", "core"; + resets = <&ccu RST_BUS_GPU>;