[PATCH 2/6] accel/ivpu: Prevent runtime suspend during context abort work
Jeffrey Hugo
quic_jhugo at quicinc.com
Tue Feb 18 15:48:51 UTC 2025
On 2/17/2025 8:33 AM, Jacek Lawrynowicz wrote:
> 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.
This feels like relevant information that should be included in the
commit text as justification for making this change.
Assuming such an update,
Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
More information about the dri-devel
mailing list