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
..
2018-11-18 12:21:09 -08:00
2018-11-01 18:34:46 -07:00
2018-11-16 09:31:59 -06:00
2018-10-29 15:16:01 -07:00
2018-10-27 09:24:24 -07:00
2018-10-25 06:50:48 -07:00
2018-10-16 11:13:50 +02:00
2018-10-25 06:50:48 -07:00
2018-10-11 12:12:55 +02:00
2018-11-09 17:56:44 +01:00
2018-10-29 10:38:10 -07:00
2018-10-31 08:54:16 -07:00
2018-11-08 17:49:04 -06:00
2018-11-02 11:25:48 -07:00
2018-11-19 10:40:33 +10:00
2018-10-31 16:47:55 -07:00
2018-10-25 06:31:56 -07:00
2018-11-09 16:31:51 -06:00
2018-11-09 16:41:58 -06:00
2018-10-26 14:36:21 -07:00
2018-10-22 17:30:06 +01:00
2018-10-26 08:14:13 -07:00
2018-11-01 08:42:21 -07:00
2018-10-26 12:09:58 -07:00
2018-10-29 15:16:01 -07:00
2018-11-03 10:44:06 -07:00
2018-11-16 09:31:59 -06:00
2018-10-31 08:54:16 -07:00
2018-10-25 06:19:15 -07:00
2018-10-11 09:16:44 -07:00
2018-11-10 13:32:14 -06:00
2018-10-31 11:01:38 -07:00
2018-11-01 14:42:49 -07:00
2018-11-19 10:40:33 +10:00
2018-11-10 08:58:48 -06:00