drm/sched: add drm_sched_fault
authorChristian König <christian.koenig@amd.com>
Fri, 12 Oct 2018 14:47:13 +0000 (16:47 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:02 +0000 (14:21 -0500)
commit8fe159b0143d817222c8799181deb799472b9339
treeb75b11cd8894cc4cf31a7b0bb92f653d45eab36c
parent19067e522d99fb869ba17420d6ef235182cb420e
drm/sched: add drm_sched_fault

Add a helper to immediately start timeout handling in case of a hardware
fault.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/sched_main.c
include/drm/gpu_scheduler.h