On 2026-09-14 10:43 AM, Karol Wachowski wrote:
From: Jakub Pawlak <[email protected]>

Use separate flag to mark a job timeout as a reason
of starting context_abort_work. This allows to distinguish
engine reset reason and clearly adjust reset procedure flow.

The flag is cleared in ivpu_prepare_for_reset(), which every
recovery and suspend path already funnels through, so that the
state is clean after recovery.

Cc: <[email protected]> # v7.1+
Fixes: ade00a6c903f ("accel/ivpu: Perform engine reset instead of device recovery on 
TDR")

Reviewed-by: Dawid Osuchowski <[email protected]>

Signed-off-by: Jakub Pawlak <[email protected]>
Signed-off-by: Karol Wachowski <[email protected]>
---
Changes in v2:
  - add Cc: tag
  - link to v1: 
https://lore.kernel.org/dri-devel/[email protected]/T/#u
---
  drivers/accel/ivpu/ivpu_drv.c | 3 ++-
  drivers/accel/ivpu/ivpu_drv.h | 2 +-
  drivers/accel/ivpu/ivpu_job.c | 7 +++----
  drivers/accel/ivpu/ivpu_mmu.c | 1 -
  drivers/accel/ivpu/ivpu_pm.c  | 1 +
  5 files changed, 7 insertions(+), 7 deletions(-)


Reply via email to