[PATCH v3] drm/sched: Make sure we wait for all dependencies in kill_jobs_cb()
Boris Brezillon
boris.brezillon at collabora.com
Tue Jun 13 10:05:43 UTC 2023
On Tue, 13 Jun 2023 11:28:45 +0200
Boris Brezillon <boris.brezillon at collabora.com> wrote:
> We also make sure we wait on drm_sched_fence::finished if we were asked
> to wait on drm_sched_fence::scheduled, but the intent was probably to
> delegate the wait to the GPU, but we want resources to be completely
> idle when killing jobs.
Uh, I need to rephrase that part:
"
We also make sure we wait on drm_sched_fence::finished if we were
originally asked to wait on drm_sched_fence::scheduled. In that case,
we assume the intent was to delegate the wait to the firmware/GPU or
rely on the pipelining done at the entity/scheduler level, but when
killing jobs, we really want to wait for completion not just scheduling.
"
More information about the dri-devel
mailing list