drm/amd/powerplay: fix typo on avfs disable
authorEvan Quan <evan.quan@amd.com>
Sat, 30 Sep 2017 01:13:47 +0000 (09:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 21:43:47 +0000 (17:43 -0400)
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/powerplay/hwmgr/vega10_hwmgr.c

index 6a859542382be7c208bf718ea099fc0fcf8a2a44..48de45ec0eaff59dbc7f89f80911ed6509be4e0b 100644 (file)
@@ -2364,7 +2364,7 @@ static int vega10_avfs_enable(struct pp_hwmgr *hwmgr, bool enable)
                } else {
                        PP_ASSERT_WITH_CODE(!vega10_enable_smc_features(hwmgr,
                                        false,
-                                       data->smu_features[GNLD_AVFS].smu_feature_id),
+                                       data->smu_features[GNLD_AVFS].smu_feature_bitmap),
                                        "[avfs_control] Attempt to Disable AVFS feature Failed!",
                                        return -1);
                        data->smu_features[GNLD_AVFS].enabled = false;