]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/msm/a7xx: Fix LLC typo
authorRob Clark <robdclark@chromium.org>
Tue, 2 Jan 2024 19:33:45 +0000 (11:33 -0800)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:17:13 +0000 (18:17 -0400)
[ Upstream commit 0776ad9274d96d132131af66a5941df45b9d46b4 ]

We'd miss actually activating LLC.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Fixes: af66706accdf ("drm/msm/a6xx: Add skeleton A7xx support")
Patchwork: https://patchwork.freedesktop.org/patch/573043/
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c

index dc80e5940f51edb0f7c37d155d8409c45f8f1a33..fd60e49b8ec4dc9257fabb3ed919b7eb147f0ba2 100644 (file)
@@ -2426,7 +2426,7 @@ static int a6xx_gmu_pm_resume(struct msm_gpu *gpu)
 
        msm_devfreq_resume(gpu);
 
-       adreno_is_a7xx(adreno_gpu) ? a7xx_llc_activate : a6xx_llc_activate(a6xx_gpu);
+       adreno_is_a7xx(adreno_gpu) ? a7xx_llc_activate(a6xx_gpu) : a6xx_llc_activate(a6xx_gpu);
 
        return ret;
 }