Re: [PATCH 1/2] drm/scheduler: Set sched->thread to NULL on failure

2018-11-29 Thread Koenig, Christian
Am 29.11.18 um 11:05 schrieb Sharat Masetty: > 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_fin

[PATCH 1/2] drm/scheduler: Set sched->thread to NULL on failure

2018-11-29 Thread Sharat Masetty
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 -

[PATCH 1/2] drm/scheduler: Set sched->thread to NULL on failure

2018-11-02 Thread Sharat Masetty
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 -