aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2015-07-31 12:31:49 +0000
committerAlex Deucher <[email protected]>2015-08-17 20:50:50 +0000
commit1d7dd229f5dded247bc8800f8f4551d3d6314afa (patch)
tree1567d1252bd053b546cb10d9d7ae3c705b4e8cea /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentdrm/amdgpu: stop using addr to check for BO move v3 (diff)
downloadkernel-1d7dd229f5dded247bc8800f8f4551d3d6314afa.tar.gz
kernel-1d7dd229f5dded247bc8800f8f4551d3d6314afa.zip
drm/amdgpu: clean up amd sched wait_ts and wait_signal
Remove code not used at the moment. Signed-off-by: Christian König <[email protected]> Reviewed-by: Chunming Zhou <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
index d682fabca958..161c83ad9349 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
@@ -90,12 +90,6 @@ static void amdgpu_sched_process_job(struct amd_gpu_scheduler *sched, void *job)
ring = fence->ring;
adev = ring->adev;
- if (sched_job->ctx) {
- c_entity = &sched_job->ctx->rings[ring->idx].c_entity;
- atomic64_set(&c_entity->last_signaled_v_seq,
- sched_job->ibs[sched_job->num_ibs - 1].sequence);
- }
-
/* wake up users waiting for time stamp */
wake_up_all(&c_entity->wait_queue);