From: Konrad Dybcio <[email protected]>

This matches the kgsl behavior.

Signed-off-by: Konrad Dybcio <[email protected]>
---
Compile-tested only
---
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c 
b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
index 662f09bec9d5..271e7b5fb871 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.c
@@ -196,7 +196,7 @@ void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct 
dev_pm_opp *opp,
                }
 
                /* Vote AB as a fraction of the max bandwidth, starting from 
A750 */
-               if (bw && adreno_is_a750_family(adreno_gpu)) {
+               if (bw && (adreno_is_a750_family(adreno_gpu) || 
adreno_is_a8xx(adreno_gpu))) {
                        u64 tmp;
 
                        /* For now, vote for 25% of the bandwidth */

---
base-commit: 151a134a4e6ec66f69db8750c66006f5207f7a9d
change-id: 20261030-topic-a8xx_ab_vote-27b9d4846acd

Best regards,
--  
Konrad Dybcio <[email protected]>

Reply via email to