Lines Matching refs:thread
295 * drm_sched_cleanup_jobs. It will be reinserted back after sched->thread
381 kthread_park(sched->thread);
388 * now until the scheduler thread is unparked.
401 * This iteration is thread safe as sched thread is stopped.
461 * Locking the list is not required here as the sched thread is parked
491 kthread_unpark(sched->thread);
676 * Don't destroy jobs while the timeout worker is running OR thread
757 * drm_sched_main - main scheduler thread
867 /* Each scheduler will run on a seperate kernel thread */
868 sched->thread = kthread_run(drm_sched_main, sched, sched->name);
869 if (IS_ERR(sched->thread)) {
870 ret = PTR_ERR(sched->thread);
871 sched->thread = NULL;
893 if (sched->thread)
894 kthread_stop(sched->thread);