On Mon, 11 Sep 2023 19:16:13 -0700 Matthew Brost <matthew.brost@xxxxxxxxx> wrote: > Wait for pending jobs to be complete before signaling queued jobs. You probably want to add 'in drm_sched_entity_kill()', even if it's already specified in the subject, because I was trying to understand why we'd want to do that in the normal path. > This > ensures dma-fence signaling order correct and also ensures the entity is > not running on the hardware after drm_sched_entity_flush or > drm_sched_entity_fini returns.