drm/amdgpu: use sched_job_init to initialize sched_job
authorMonk Liu <Monk.Liu@amd.com>
Mon, 7 Mar 2016 04:49:55 +0000 (12:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 19:12:59 +0000 (15:12 -0400)
commite686941a32d31d22ce7c8b7faf9cce17816f7c4d
tree8715c3287ddb13792ec235411b734caad34c7559
parent03ccf481980f8d3363263e73c64473d8f2779dc0
drm/amdgpu: use sched_job_init to initialize sched_job

Consolidate job initialization in one place rather than
duplicating it in multiple places.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h