The GPU driver needs the MFG configuration block to enable the GPU
timestamp counter, which otherwise reads zero.

Signed-off-by: Michał Kopeć <[email protected]>
---
 arch/arm64/boot/dts/mediatek/mt8188.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi 
b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
index 14a320f0c70cb..b4be89bf55bf7 100644
--- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
@@ -2266,6 +2266,7 @@ gpu: gpu@13000000 {
                                     <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH 0>,
                                     <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH 0>;
                        interrupt-names = "job", "mmu", "gpu";
+                       mediatek,mfgcfg = <&mfgcfg>;
                        nvmem-cells = <&gpu_speedbin>;
                        nvmem-cell-names = "speed-bin";
                        operating-points-v2 = <&gpu_opp_table>;
-- 
2.55.0

Reply via email to