diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index eed409c59492..5104e64e9ad8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |||
@@ -218,7 +218,7 @@ int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs, | |||
218 | 218 | ||
219 | sequence = amdgpu_enable_scheduler ? ib->sequence : 0; | 219 | sequence = amdgpu_enable_scheduler ? ib->sequence : 0; |
220 | 220 | ||
221 | if (ib->ctx) | 221 | if (!amdgpu_enable_scheduler && ib->ctx) |
222 | ib->sequence = amdgpu_ctx_add_fence(ib->ctx, ring, | 222 | ib->sequence = amdgpu_ctx_add_fence(ib->ctx, ring, |
223 | &ib->fence->base, | 223 | &ib->fence->base, |
224 | sequence); | 224 | sequence); |