提交 03d3a3e6 编写于 作者: C Chunming Zhou 提交者: Alex Deucher

drm/amdgpu: fix null pointer by previous cleanup

Signed-off-by: NChunming Zhou <david1.zhou@amd.com>
Reviewed-by: NChristian K?nig <christian.koenig@amd.com>
上级 1763552e
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册