diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2016-01-14 22:25:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:16:50 -0500 |
commit | cadf97b196a1e5b2db2606d53f77714e3e9cf4bb (patch) | |
tree | 1954976bc68547599f4ea9c29381a962c5c5d681 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | be86c606b50a53b60f3591ba94dd687524f2ee21 (diff) |
drm/amdgpu: clean up non-scheduler code path (v2)
Non-scheduler code is longer supported.
v2: agd: rebased on upstream
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index 3b58d70b73cd..54cede30a69c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |||
@@ -199,10 +199,6 @@ int amdgpu_ib_schedule(struct amdgpu_device *adev, unsigned num_ibs, | |||
199 | return r; | 199 | return r; |
200 | } | 200 | } |
201 | 201 | ||
202 | if (!amdgpu_enable_scheduler && ib->ctx) | ||
203 | ib->sequence = amdgpu_ctx_add_fence(ib->ctx, ring, | ||
204 | &ib->fence->base); | ||
205 | |||
206 | /* wrap the last IB with fence */ | 202 | /* wrap the last IB with fence */ |
207 | if (ib->user) { | 203 | if (ib->user) { |
208 | uint64_t addr = amdgpu_bo_gpu_offset(ib->user->bo); | 204 | uint64_t addr = amdgpu_bo_gpu_offset(ib->user->bo); |