diff options
| author | Christian König <[email protected]> | 2015-08-20 14:12:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-08-25 14:49:57 +0000 |
| commit | 6c859274f363be9dc13f8849bdc59bb64f922f26 (patch) | |
| tree | f4c59a2c79d6932a0b1ccc2f18eb2726e7414683 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | drm/amdgpu: remove amdgpu_bo_list_clone (diff) | |
| download | kernel-6c859274f363be9dc13f8849bdc59bb64f922f26.tar.gz kernel-6c859274f363be9dc13f8849bdc59bb64f922f26.zip | |
drm/amdgpu: fix and cleanup amd_sched_entity_push_job
Calling schedule() is probably the worse things we can do.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index 964b54381feb..1aa72edbce9a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -105,7 +105,7 @@ int amdgpu_sched_ib_submit_kernel_helper(struct amdgpu_device *adev, mutex_init(&job->job_lock); job->free_job = free_job; mutex_lock(&job->job_lock); - r = amd_sched_push_job((struct amd_sched_job *)job); + r = amd_sched_entity_push_job((struct amd_sched_job *)job); if (r) { mutex_unlock(&job->job_lock); kfree(job); |
