On 9/14/2026 2:29 AM, Karol Wachowski wrote:
Closing a file only dropped ivpu_postclose()'s own reference on
file_priv; the context and command queue teardown happened later in
file_priv_release(), once every in-flight job completed and dropped
its own reference. Since nothing explicitly canceled a context's
command queues or jobs on close, any job still in flight kept running
in the background after its owning process exited, until it completed
on its own or the device's own TDR intervened. Make ivpu_postclose()
explicitly abort the context's command queues and signal and destroy
all of its pending jobs via the new ivpu_context_abort_all_jobs().

Signed-off-by: Karol Wachowski <[email protected]>

Reviewed-by: Jeff Hugo <[email protected]>

Reply via email to