drm/amdgpu: fix and cleanup amd_sched_entity_push_job
authorChristian König <christian.koenig@amd.com>
Thu, 20 Aug 2015 14:12:50 +0000 (16:12 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2015 14:49:57 +0000 (10:49 -0400)
commit6c859274f363be9dc13f8849bdc59bb64f922f26
treef4c59a2c79d6932a0b1ccc2f18eb2726e7414683
parent87e0a87dabdbe9e1698ef85c620c4110b04992a0
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 <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h