]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
accel/ivpu: Don't enable any tiles by default on VPU40xx
authorAndrzej Kacprowski <Andrzej.Kacprowski@intel.com>
Tue, 20 Feb 2024 13:16:24 +0000 (14:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:35:01 +0000 (13:35 +0100)
commitcca20208515e23667a19d7be52207c782fd10922
tree90dce9433f4bed7ef730c1e1a8a13d6e5e2cea39
parent3f70ed98f77619dd2ad5c470c6d4083c0b6885ab
accel/ivpu: Don't enable any tiles by default on VPU40xx

commit eb0d253ff9c74dee30aa92fe460b825eb28acd73 upstream.

There is no point in requesting 1 tile on VPU40xx as the FW will
probably need more tiles to run workloads, so it will have to
reconfigure PLL anyway. Don't enable any tiles and allow the FW to
perform initial tile configuration.

This improves NPU boot stability as the tiles are always enabled only
by the FW from the same initial state.

Fixes: 79cdc56c4a54 ("accel/ivpu: Add initial support for VPU 4")
Cc: stable@vger.kernel.org
Signed-off-by: Andrzej Kacprowski <Andrzej.Kacprowski@intel.com>
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/20240220131624.1447813-1-jacek.lawrynowicz@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accel/ivpu/ivpu_hw_40xx.c