]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: rework TDR in scheduler (v2)
authorMonk Liu <Monk.Liu@amd.com>
Fri, 4 Mar 2016 10:51:02 +0000 (18:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 May 2016 19:19:57 +0000 (15:19 -0400)
commita772cf9a399bc3b912199e1d48b766250499f23a
treeceb625203d34fe6920545e2e08839c7e3e535d03
parenta38082a45c9ced740ab525ff53e708ec9b5cb563
drm/amdgpu: rework TDR in scheduler (v2)

Add two callbacks to scheduler to maintain jobs, and invoked for
job timeout calculations. Now TDR measures time gap from
job is processed by hw.

v2:
fix typo

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/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
drivers/gpu/drm/amd/scheduler/sched_fence.c