summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishad Saraf <nishads@amd.com>2026-04-23 21:08:24 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-04-27 09:04:44 -0700
commit4ee91aadeee48f57b0988ecb63eb526064bbb180 (patch)
treeafec18e08d6802e079ec9c3e5274dad079a7656d
parent974d6764b76fef6f2b0f3933596fefd5d05e687c (diff)
downloadlinux-4ee91aadeee48f57b0988ecb63eb526064bbb180.tar.gz
linux-4ee91aadeee48f57b0988ecb63eb526064bbb180.zip
accel/amdxdna: Set the system efficiency factor to 2
The system efficiency factor is used for QoS calculation. Change it to 2 to account for the efficiency overhead. Signed-off-by: Nishad Saraf <nishads@amd.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260424040824.2253607-3-lizhi.hou@amd.com
-rw-r--r--drivers/accel/amdxdna/aie2_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/amdxdna/aie2_pci.c b/drivers/accel/amdxdna/aie2_pci.c
index a07e453a1721..f0ddb843eb21 100644
--- a/drivers/accel/amdxdna/aie2_pci.c
+++ b/drivers/accel/amdxdna/aie2_pci.c
@@ -595,7 +595,7 @@ static int aie2_init(struct amdxdna_dev *xdna)
xrs_cfg.clk_list.num_levels = ndev->max_dpm_level + 1;
for (i = 0; i < xrs_cfg.clk_list.num_levels; i++)
xrs_cfg.clk_list.cu_clk_list[i] = ndev->priv->dpm_clk_tbl[i].hclk;
- xrs_cfg.sys_eff_factor = 1;
+ xrs_cfg.sys_eff_factor = 2;
xrs_cfg.ddev = &xdna->ddev;
xrs_cfg.actions = &aie2_xrs_actions;
xrs_cfg.total_col = ndev->total_col;