On 1/29/2025 5:40 AM, Jacek Lawrynowicz wrote:
Disable runtime PM for the duration of reset/recovery so it is possible to set the correct runtime PM state depending on the outcome of the `ivpu_resume()`. Don’t suspend or reset the HW if the NPU is suspended when the reset/recovery is requested. Also, move common reset/recovery code to separate functions for better code readability.Fixes: 27d19268cf39 ("accel/ivpu: Improve recovery and reset support") Cc: <[email protected]> # v6.8+ Reviewed-by: Maciej Falkowski <[email protected]> Signed-off-by: Jacek Lawrynowicz <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
