diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2015-08-03 20:02:43 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 16:50:55 -0400 |
commit | 03d3a3e634894259a27979f4a372273162611e78 (patch) | |
tree | 7a9e8e801bd64a2e7f349fd52b95ca5057033efe /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 1763552ee8a7f39a1788d24e27b50d4dee383520 (diff) | |
download | talos-obmc-linux-03d3a3e634894259a27979f4a372273162611e78.tar.gz talos-obmc-linux-03d3a3e634894259a27979f4a372273162611e78.zip |
drm/amdgpu: fix null pointer by previous cleanup
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index 23a17ec239c0..0f55c05c80b1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -79,7 +79,6 @@ static void amdgpu_sched_process_job(struct amd_gpu_scheduler *sched, void *job) struct amdgpu_fence *fence = NULL; struct amdgpu_ring *ring = NULL; struct amdgpu_device *adev = NULL; - struct amd_context_entity *c_entity = NULL; if (!job) return; @@ -90,9 +89,6 @@ static void amdgpu_sched_process_job(struct amd_gpu_scheduler *sched, void *job) ring = fence->ring; adev = ring->adev; - /* wake up users waiting for time stamp */ - wake_up_all(&c_entity->wait_queue); - schedule_work(&sched_job->job_work); } |