Skip to contentSkip to conversation

drm/amd/powerplay: fix typo on avfs disable

PATCH In review Evan Quan 2 participants 2 messages Sep 30, 2017 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Evan Quan

author
#0 lore raw

PATCH 1/1 drm/amd/powerplay: fix typo on avfs disable

Change-Id I172c1e05ce026b5d600f5b3607778ab48ee2c812
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +1 -1
index 6a85954..48de45e 100644
@@ -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;
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1506734142-5396-1-git-send-email-evan.quan-5C7GfCeVMHo@public.gmane.org

Acked-by
#2 lore raw
Quoted 2 lines · Evan Quan
Change-Id I172c1e05ce026b5d600f5b3607778ab48ee2c812
Quoted 20 lines
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +1 -2
index 6a85954..48de45e 100644
@@ -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;
--

2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx