]> www.infradead.org Git - users/jedix/linux-maple.git/commit
accel/ivpu: Prevent runtime suspend during context abort work
authorAndrzej Kacprowski <Andrzej.Kacprowski@intel.com>
Tue, 4 Feb 2025 08:46:18 +0000 (09:46 +0100)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 10 Feb 2025 09:45:41 +0000 (10:45 +0100)
commit7806bad76ac397a767f0c369534133c71c73b157
treefe909021e738d4dda3316c173468216f626598ec
parent4720e0ad30bbe87821e516e5c6cdeb94e615c6dd
accel/ivpu: Prevent runtime suspend during context abort work

Increment the runtime PM counter when entering
ivpu_context_abort_work_fn() to prevent the device
from suspending while the function is executing.

Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204084622.2422544-3-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_job.c