Commit 2c8b0d62 authored by Asad Kamal's avatar Asad Kamal Committed by Alex Deucher
Browse files

drm/amd/pm: Enable host limit metrics support



Enable host limit metrics support for smuv_13_0_6

Signed-off-by: default avatarAsad Kamal <asad.kamal@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b574729f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)) ||