aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
index 232e800eea56..1833f05c7e0b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
@@ -268,16 +268,6 @@ struct fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx,
268 struct amdgpu_ctx_ring *cring = & ctx->rings[ring->idx]; 268 struct amdgpu_ctx_ring *cring = & ctx->rings[ring->idx];
269 struct fence *fence; 269 struct fence *fence;
270 uint64_t queued_seq; 270 uint64_t queued_seq;
271 int r;
272
273 if (amdgpu_enable_scheduler) {
274 r = amd_sched_wait_emit(&cring->entity,
275 seq,
276 false,
277 -1);
278 if (r)
279 return NULL;
280 }
281 271
282 spin_lock(&ctx->ring_lock); 272 spin_lock(&ctx->ring_lock);
283 if (amdgpu_enable_scheduler) 273 if (amdgpu_enable_scheduler)