drm/amdgpu: put job to list before done
authorMonk Liu <Monk.Liu@amd.com>
Fri, 4 Mar 2016 06:33:44 +0000 (14:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 19:17:53 +0000 (15:17 -0400)
commit4835096b07420c1d74cc5711c461830016e6cb03
treef52f4f47daa5a5319ad9823a0cdfe75394314236
parente472d2588eef38c2f16f71d6160e58fb5948e84f
drm/amdgpu: put job to list before done

the mirror_list will be used for later time out detect
feature.  This is needed to properly detect a GPU
timeout with the scheduler.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h
drivers/gpu/drm/amd/scheduler/sched_fence.c