accel/ivpu: Don't enter d0i3 during FLR
authorJacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Tue, 3 Oct 2023 06:42:13 +0000 (08:42 +0200)
committerStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Thu, 19 Oct 2023 04:48:05 +0000 (06:48 +0200)
commit828d63042aeca132a93938b98dc7f1a6c97bbc51
tree57dcec27997b2242171d2064414280c207a81f5a
parentfa8391ad68c16716e2c06ada397e99ceed2fb647
accel/ivpu: Don't enter d0i3 during FLR

Avoid HW bug on some platforms where we enter D0i3 state
and CPU is in low power states (C8 or above).

Fixes: 852be13f3bd3 ("accel/ivpu: Add PM support")
Cc: stable@vger.kernel.org
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231003064213.1527327-1-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_drv.c
drivers/accel/ivpu/ivpu_drv.h
drivers/accel/ivpu/ivpu_hw.h
drivers/accel/ivpu/ivpu_hw_37xx.c
drivers/accel/ivpu/ivpu_hw_40xx.c
drivers/accel/ivpu/ivpu_pm.c