build/patch/kernel/archive/rockchip64-6.1/need_checking/rk3328-gpu-opp-adjust-DMC.patch

70 lines
1.9 KiB
Diff

From 6b9fa5fb3eaa4a0b3ff0babcdeb5f92b8cccb949 Mon Sep 17 00:00:00 2001
From: tonymac32 <tonymckahan@gmail.com>
Date: Wed, 4 Aug 2021 00:14:33 -0400
Subject: [PATCH] hjghj
Signed-off-by: tonymac32 <tonymckahan@gmail.com>
---
.../arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 27 ++++++++++---------
arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 +++++++---
2 files changed, 24 insertions(+), 17 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
index c50bf3ba4..ba82fe0df 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts
@@ -232,6 +232,7 @@ &gmac2io {
};
&gpu {
+ status = "okay";
mali-supply = <&vdd_logic>;
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index a576953ec..e6459baa8 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -147,22 +147,22 @@ gpu_opp_table: gpu-opp-table {
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
- opp-microvolt = <950000>;
+ opp-microvolt = <1150000 1150000 1175000>;
};
opp-300000000 {
opp-hz = /bits/ 64 <300000000>;
- opp-microvolt = <975000>;
+ opp-microvolt = <1150000 1150000 1175000>;
};
opp-400000000 {
opp-hz = /bits/ 64 <400000000>;
- opp-microvolt = <1050000>;
+ opp-microvolt = <1150000 1150000 1175000>;
};
opp-500000000 {
opp-hz = /bits/ 64 <500000000>;
- opp-microvolt = <1150000>;
+ opp-microvolt = <1150000 1150000 1175000>;
};
};
@@ -591,6 +591,11 @@ map0 {
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
contribution = <4096>;
};
+ map1 {
+ trip = <&target>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ contribution = <4096>;
+ };
};
};
--
Created with Armbian build tools https://github.com/armbian/build