Re: [PATCH 2/6] accel/ivpu: Prevent runtime suspend during context abort work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
>>
>> 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



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux