[PATCH 2/3] accel/ivpu: Clear runtime_error after pm_runtime_resume_and_get() fails

Jeffrey Hugo quic_jhugo at quicinc.com
Fri Jan 31 18:27:49 UTC 2025


On 1/29/2025 5:40 AM, Jacek Lawrynowicz wrote:
> pm_runtime_resume_and_get() sets dev->power.runtime_error that causes
> all subsequent pm_runtime_get_sync() calls to fail.
> Clear the runtime_error using pm_runtime_set_suspended(), so the driver
> doesn't have to be reloaded to recover when the NPU fails to boot during
> runtime resume.
> 
> Fixes: 7d4b4c74432d ("accel/ivpu: Remove suspend_reschedule_counter")
> Cc: <stable at vger.kernel.org> # v6.11+
> Reviewed-by: Maciej Falkowski <maciej.falkowski at linux.intel.com>
> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
> ---

Reviewed-by: Jeffrey Hugo <quic_jhugo at quicinc.com>


More information about the dri-devel mailing list