summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2021-11-09 21:11:02 +0300
committerRob Clark <robdclark@chromium.org>2021-11-28 20:50:33 +0300
commit1d054c9b8457b56a651109fac21f56f46ccd46b2 (patch)
treeb0b4f60771fd017eb4f3fda1a17beffe96e08328 /drivers/gpu/drm/msm/adreno/a6xx_gpu.h
parentd8c00a81f11fefc25e27cd5b0bfc0092b02d722d (diff)
downloadlinux-1d054c9b8457b56a651109fac21f56f46ccd46b2.tar.xz
drm/msm: Drop priv->lastctx
cur_ctx_seqno already does the same thing, but handles the edge cases where a refcnt'd context can live after lastclose. So let's not have two ways to do the same thing. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Akhil P Oommen <akhilpo@codeaurora.org> Link: https://lore.kernel.org/r/20211109181117.591148-3-robdclark@gmail.com Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a6xx_gpu.h')
-rw-r--r--drivers/gpu/drm/msm/adreno/a6xx_gpu.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
index 8e5527c881b1..86e0a7c3fe6d 100644
--- a/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
+++ b/drivers/gpu/drm/msm/adreno/a6xx_gpu.h
@@ -20,16 +20,6 @@ struct a6xx_gpu {
struct msm_ringbuffer *cur_ring;
- /**
- * cur_ctx_seqno:
- *
- * The ctx->seqno value of the context with current pgtables
- * installed. Tracked by seqno rather than pointer value to
- * avoid dangling pointers, and cases where a ctx can be freed
- * and a new one created with the same address.
- */
- int cur_ctx_seqno;
-
struct a6xx_gmu gmu;
struct drm_gem_object *shadow_bo;