Skip to content

Commit 860a7b2

Browse files
robclarklumag
authored andcommitted
drm/msm/a6xx: Add missing suspend_count increment
Reported-by: Danylo Piliaiev <[email protected]> Fixes: 3ab1c5c ("drm/msm: Add param for userspace to query suspend count") Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 0a727b4 commit 860a7b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,6 +1560,8 @@ static int a6xx_pm_suspend(struct msm_gpu *gpu)
15601560
for (i = 0; i < gpu->nr_rings; i++)
15611561
a6xx_gpu->shadow[i] = 0;
15621562

1563+
gpu->suspend_count++;
1564+
15631565
return 0;
15641566
}
15651567

0 commit comments

Comments
 (0)