drm/msm/a6xx: Add missing suspend_count increment
Subsystems (4)
PATCH 1/1 drm/msm/a6xx: Add missing suspend_count increment
From: Rob Clark <[email protected]>
Reported-by Danylo Piliaiev <[email protected]>
Fixes 3ab1c5cc3939 ("drm/msm: Add param for userspace to query suspend count")
Signed-off-by Rob Clark <[email protected]>
--- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2 -0
@@ -1560,6 +1560,8 @@ static int a6xx_pm_suspend(struct msm_gpu *gpu)for (i =0 ; i < gpu->nr_rings; i++) a6xx_gpu->shadow[i] =0 ; + gpu->suspend_count++; +return 0 ; }
Signature · 1 line
2.34.1
Quoted 5 lines · Rob Clark
From: Rob Clark <[email protected]>
Reported-by Danylo Piliaiev <[email protected]>Fixes 3ab1c5cc3939 ("drm/msm: Add param for userspace to query suspend count")Signed-off-by Rob Clark <[email protected]>
Reviewed-by Dmitry Baryshkov <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2
-0@@ -1560,6 +1560,8 @@ static int a6xx_pm_suspend(struct msm_gpu *gpu)for (i =0 ; i < gpu->nr_rings; i++) a6xx_gpu->shadow[i] =0 ; + gpu->suspend_count++; +return 0 ; }
Signature · 2 lines
With best wishes Dmitry