We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e46ad8 commit 6ab410eCopy full SHA for 6ab410e
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
@@ -899,6 +899,13 @@ static void a6xx_gmu_force_off(struct a6xx_gmu *gmu)
899
/* Make sure there are no outstanding RPMh votes */
900
a6xx_gmu_rpmh_off(gmu);
901
902
+ /* Clear the WRITEDROPPED fields and put fence into allow mode */
903
+ gmu_write(gmu, REG_A6XX_GMU_AHB_FENCE_STATUS_CLR, 0x7);
904
+ gmu_write(gmu, REG_A6XX_GMU_AO_AHB_FENCE_CTRL, 0);
905
+
906
+ /* Make sure the above writes go through */
907
+ wmb();
908
909
/* Halt the gmu cm3 core */
910
gmu_write(gmu, REG_A6XX_GMU_CM3_SYSRESET, 1);
911
0 commit comments