]> www.infradead.org Git - users/dwmw2/linux.git/commit
accel/ivpu: Increase reset counter when warm boot fails
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Mon, 13 May 2024 12:04:30 +0000 (14:04 +0200)
committerJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Wed, 15 May 2024 05:42:29 +0000 (07:42 +0200)
commitcb323de31a0cbff3de5fc8608c2e2d6e2517f027
tree3bebb71ef3b079a68fc644dae3aa7d3994da3c1c
parent8f2eb89159933001738443717e14c7a90ede0f43
accel/ivpu: Increase reset counter when warm boot fails

Failed warm boot causes a cold boot that looses FW state and is
equivalent to a recovery or reset, so reset_counter should be
incremented in order for this failure to be detected by tests.

Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513120431.3187212-12-jacek.lawrynowicz@linux.intel.com
drivers/accel/ivpu/ivpu_pm.c