[PATCH v3 11/13] drm/sched: Waiting for pending jobs to complete in scheduler kill

Boris Brezillon boris.brezillon at collabora.com
Tue Sep 12 08:44:59 UTC 2023


On Mon, 11 Sep 2023 19:16:13 -0700
Matthew Brost <matthew.brost at intel.com> 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.


More information about the dri-devel mailing list