Commit 860a7b2a authored by Rob Clark's avatar Rob Clark Committed by Dmitry Baryshkov

drm/msm/a6xx: Add missing suspend_count increment

Reported-by: default avatarDanylo Piliaiev <dpiliaiev@igalia.com>
Fixes: 3ab1c5cc ("drm/msm: Add param for userspace to query suspend count")
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220113163215.215367-1-robdclark@gmail.comSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 0a727b45
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment