drm/amd/pm: Enable host limit metrics support
Subsystems (3)
PATCH 1/2 drm/amd/pm: Enable host limit metrics support
Enable host limit metrics support for smuv_13_0_6
Signed-off-by Asad Kamal <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +3 -0
@@ -386,6 +386,9 @@ static void smu_v13_0_6_init_caps(struct smu_context *smu)smu_v13_0_6_cap_clear (smu,SMU_CAP (RMA_MSG ));if (fw_ver <0x00555600 )smu_v13_0_6_cap_clear (smu,SMU_CAP (ACA_SYND )); +if ((pgm ==7 && fw_ver >=0x7550E00 ) || + (pgm ==0 && fw_ver >=0x00557E00 )) +smu_v13_0_6_cap_set (smu,SMU_CAP (HST_LIMIT_METRICS )); } if (((pgm == 7) && (fw_ver >= 0x7550700)) || ((pgm == 0) && (fw_ver >= 0x00557900)) ||
Signature · 1 line
2.46.0
PATCH 2/2 drm/amd/pm: Enable host limit metrics support
Enable host limit metrics support for smuv_13_0_12
Signed-off-by Asad Kamal <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2 -0
@@ -337,6 +337,8 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)if (fw_ver >=0x00561E00 )smu_v13_0_6_cap_set (smu,SMU_CAP (STATIC_METRICS )); +if (fw_ver >=0x00562500 ) +smu_v13_0_6_cap_set (smu,SMU_CAP (HST_LIMIT_METRICS )); }static void smu_v13_0_6_init_caps (struct smu_context *smu)
Signature · 1 line
2.46.0
[AMD Official Use Only - AMD Internal Distribution Only]
Series is
Reviewed-by Hawking Zhang <[email protected]>
Regards,
Hawking
-----Original Message-----
From: Kamal, Asad <[email protected]>
Sent: Tuesday, April 15, 2025 11:49
To: [email protected]; Lazar, Lijo <[email protected]>
Cc: Zhang, Hawking <[email protected]>; Ma, Le <[email protected]>; Zhang, Morris <[email protected]>; Kamal, Asad <[email protected]>; Deucher, Alexander <[email protected]>
Subject: [PATCH 2/2] drm/amd/pm: Enable host limit metrics support
Enable host limit metrics support for smuv_13_0_12
Signed-off-by Asad Kamal <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2 -0
@@ -337,6 +337,8 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)if (fw_ver >=0x00561E00 )smu_v13_0_6_cap_set (smu,SMU_CAP (STATIC_METRICS )); +if (fw_ver >=0x00562500 ) +smu_v13_0_6_cap_set (smu,SMU_CAP (HST_LIMIT_METRICS )); }static void smu_v13_0_6_init_caps (struct smu_context *smu)
--
2.46.0