linux/drivers/gpu/drm/scheduler
Sharat Masetty 9afd07566b drm/scheduler: Set sched->thread to NULL on failure
In cases where the scheduler instance is used as a base object of another
driver object, it's not clear if the driver can call scheduler cleanup on the
fail path. So, Set the sched->thread to NULL, so that the driver can safely
call drm_sched_fini() during cleanup.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-12-05 17:56:16 -05:00
..
gpu_scheduler_trace.h drm/scheduler: Add job dependency trace. 2018-08-27 11:09:46 -05:00
Makefile drm/scheduler: rename gpu_scheduler.c to sched_main.c 2018-08-27 11:10:44 -05:00
sched_entity.c drm/scheduler: Add drm_sched_job_cleanup 2018-11-05 14:21:27 -05:00
sched_fence.c drm/scheduler: change entities rq even earlier 2018-08-27 11:10:07 -05:00
sched_main.c drm/scheduler: Set sched->thread to NULL on failure 2018-12-05 17:56:16 -05:00