]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
accel/ivpu: Do not trigger extra VPU reset if the VPU is idle
authorAndrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Thu, 25 May 2023 10:38:17 +0000 (12:38 +0200)
committerStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Thu, 8 Jun 2023 06:15:30 +0000 (08:15 +0200)
commit9f7e3611f6c828fcb6001c39d8e7a523a4f31525
tree47867e934b9fa46fd948f1ae3a66b90192659dab
parent6eea63c7090b20ee41032d3e478e617b219d69aa
accel/ivpu: Do not trigger extra VPU reset if the VPU is idle

Turning off the PLL and entering D0i3 will reset the VPU so
an explicit IP reset is redundant.
But if the VPU is active, it may interfere with PLL disabling
and to avoid that, we have to issue an additional IP reset
to silence the VPU before turning off the PLL.

Fixes: a8fed6d1e0b9 ("accel/ivpu: Fix power down sequence")
Cc: stable@vger.kernel.org # 6.3.x
Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230525103818.877590-1-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_hw_mtl.c