drm/amd/pm: enable VR0 HOT support for SMU 13.0.0
authorEvan Quan <evan.quan@amd.com>
Tue, 14 Jun 2022 07:21:48 +0000 (15:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jun 2022 15:23:52 +0000 (11:23 -0400)
Enable VR0 Hot support for SMU 13.0.0.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c

index 6fb2b07..ce2fa04 100644 (file)
@@ -308,6 +308,8 @@ smu_v13_0_0_get_allowed_feature_mask(struct smu_context *smu,
 
        *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_DS_UCLK_BIT);
 
+       *(uint64_t *)feature_mask |= FEATURE_MASK(FEATURE_VR0HOT_BIT);
+
        return 0;
 }