Revert "winsys/amdgpu: Add R600_DEBUG flag to reserve VMID per ctx."
[mesa.git] / src / gallium / winsys / amdgpu / drm / amdgpu_cs.h
index d023841439a936e8777d6763ad075eaaf02999f4..1c3d0f0be1cfde42145a2534ffe9e92066d6b10a 100644 (file)
@@ -162,9 +162,6 @@ static inline bool amdgpu_fence_is_syncobj(struct amdgpu_fence *fence)
 static inline void amdgpu_ctx_unref(struct amdgpu_ctx *ctx)
 {
    if (p_atomic_dec_zero(&ctx->refcount)) {
-      if (ctx->ws->reserve_vmid)
-         amdgpu_vm_unreserve_vmid(ctx->ctx, 0);
-
       amdgpu_cs_ctx_free(ctx->ctx);
       amdgpu_bo_free(ctx->user_fence_bo);
       FREE(ctx);