mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
drm/amd/pm: Enable system power caps for smu_v13_0_12
Enable system power caps to fetch system power and threshold for smu_v13_0_12 Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c4031dedde
commit
1c254be411
|
|
@ -356,8 +356,11 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)
|
|||
if (fw_ver > 0x04560900)
|
||||
smu_v13_0_6_cap_set(smu, SMU_CAP(VCN_RESET));
|
||||
|
||||
if (fw_ver >= 0x04560D00)
|
||||
if (fw_ver >= 0x04560D00) {
|
||||
smu_v13_0_6_cap_set(smu, SMU_CAP(FAST_PPT));
|
||||
if (smu->adev->gmc.xgmi.physical_node_id == 0)
|
||||
smu_v13_0_6_cap_set(smu, SMU_CAP(SYSTEM_POWER_METRICS));
|
||||
}
|
||||
|
||||
if (fw_ver >= 0x04560700) {
|
||||
if (fw_ver >= 0x04560900) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user