drm/amdgpu: properly abstract scheduler timeout handling
authorChristian König <christian.koenig@amd.com>
Wed, 18 May 2016 12:19:32 +0000 (14:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:53 +0000 (14:50 -0400)
commit0e51a772e2014db55b969c06814e8fe01d167ba2
treee9d8e576348a73ac72b5cdf256789c1154ee9436
parent1e24e31f22a69e0983c3dbc31dc725cd940ad258
drm/amdgpu: properly abstract scheduler timeout handling

The driver shouldn't mess with the scheduler internals.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk.Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
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