]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 12:54:40 +0000 (13:54 +0100)
commitb5890eb95ebb35ae8bd6e04a51823dfaa9151fad
treefbfcb03a55ddaf721bcf73d80a9fec46603062fd
parent4e6e07ce0197aecfb6c4a62862acc93b3efedeb7
accel/ivpu: Prevent runtime suspend during context abort work

[ Upstream commit 7806bad76ac397a767f0c369534133c71c73b157 ]

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
Stable-dep-of: 9f6c63285737 ("accel/ivpu: Ensure rpm_runtime_put in case of engine reset/resume fail")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/accel/ivpu/ivpu_job.c