accel/ivpu: Don't enable any tiles by default on VPU40xx
Subsystems (3)
PATCH 1/1 accel/ivpu: Don't enable any tiles by default on VPU40xx
From: Andrzej Kacprowski <[email protected]>
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.
--- drivers/accel/ivpu/ivpu_hw_40xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/ivpu/ivpu_hw_40xx.c +1 -1
@@ -24,7 +24,7 @@#define SKU_HW_ID_SHIFT 16u#define SKU_HW_ID_MASK 0xffff0000u -#define PLL_CONFIG_DEFAULT 0x1 +#define PLL_CONFIG_DEFAULT 0x0#define PLL_CDYN_DEFAULT 0x80#define PLL_EPP_DEFAULT 0x80#define PLL_REF_CLK_FREQ (50 * 1000000)
Signature · 1 line
2.43.0
kernel test robot
build botFYI: kernel test robot notices the stable kernel rule is not satisfied.
Hi,
Thanks for your patch.
FYI: kernel test robot notices the stable kernel rule is not satisfied.
The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Rule: add the tag "Cc: [email protected]" in the sign-off area to have the patch automatically included in the stable tree.
Subject: [PATCH] accel/ivpu: Don't enable any tiles by default on VPU40xx
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH v2 1/1 accel/ivpu: Don't enable any tiles by default on VPU40xx
In reply to Jacek LawrynowiczFrom: Andrzej Kacprowski <[email protected]>
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.
--- drivers/accel/ivpu/ivpu_hw_40xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/accel/ivpu/ivpu_hw_40xx.c +1 -1
@@ -24,7 +24,7 @@#define SKU_HW_ID_SHIFT 16u#define SKU_HW_ID_MASK 0xffff0000u -#define PLL_CONFIG_DEFAULT 0x1 +#define PLL_CONFIG_DEFAULT 0x0#define PLL_CDYN_DEFAULT 0x80#define PLL_EPP_DEFAULT 0x80#define PLL_REF_CLK_FREQ (50 * 1000000)
Signature · 1 line
2.43.0
Quoted 7 lines · Jacek Lawrynowicz
From: Andrzej Kacprowski <[email protected]>
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.
Quoted 8 lines
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")Signed-off-by Andrzej Kacprowski <[email protected]>Signed-off-by Jacek Lawrynowicz <[email protected]>---
Jacek Lawrynowicz
AppliedApplied to drm-misc-fixes
Quoted 31 lines · Jacek Lawrynowicz
From: Andrzej Kacprowski <[email protected]>
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")Signed-off-by Andrzej Kacprowski <[email protected]>Signed-off-by Jacek Lawrynowicz <[email protected]>--- drivers/accel/ivpu/ivpu_hw_40xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/accel/ivpu/ivpu_hw_40xx.c +1
-1@@ -24,7 +24,7 @@#define SKU_HW_ID_SHIFT 16u#define SKU_HW_ID_MASK 0xffff0000u -#define PLL_CONFIG_DEFAULT 0x1 +#define PLL_CONFIG_DEFAULT 0x0#define PLL_CDYN_DEFAULT 0x80#define PLL_EPP_DEFAULT 0x80#define PLL_REF_CLK_FREQ (50 * 1000000)