[PATCH 2/6] accel/ivpu: Prevent runtime suspend during context abort work
Jacek Lawrynowicz
jacek.lawrynowicz at linux.intel.com
Mon Feb 17 15:33:18 UTC 2025
Hi,
On 2/14/2025 5:49 PM, Jeffrey Hugo wrote:
> On 2/4/2025 1:46 AM, Jacek Lawrynowicz wrote:
>> From: Andrzej Kacprowski <Andrzej.Kacprowski at intel.com>
>>
>> Increment the runtime PM counter when entering
>> ivpu_context_abort_work_fn() to prevent the device
>> from suspending while the function is executing.
>
> Why should suspend be prevented during the abort fn?
ivpu_context_abort_work_fn() executes a pair of reset/resume engine IPC commands that always have to be paired.
Suspend/resume between them cases related FW state to be lost and resume engine then fails.
Jacek
More information about the dri-devel
mailing list