drm/msm/a7xx: Fix LLC typo
authorRob Clark <robdclark@chromium.org>
Tue, 2 Jan 2024 19:33:45 +0000 (11:33 -0800)
committerRob Clark <robdclark@chromium.org>
Mon, 26 Feb 2024 15:29:54 +0000 (07:29 -0800)
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/

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;
 }