aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-06-28 14:21:12 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-07-05 17:39:52 -0400
commited54d954e5c1d8bad453fb86109075b3577152b7 (patch)
treec20186c7166a07a22be7449276559b9bbe7e2d46 /drivers
parent9861023c29dbc069e49dc85fb21f01da9f75ff06 (diff)
drm/amdgpu/pp: fix copy paste typo in smu7_get_pp_table_entry_callback_func_v1
Should be using PCIELaneLow for the low clock level. Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index e5c27d12aa49..077b79938528 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@ -3183,7 +3183,7 @@ static int smu7_get_pp_table_entry_callback_func_v1(struct pp_hwmgr *hwmgr,
3183 performance_level->pcie_gen = get_pcie_gen_support(data->pcie_gen_cap, 3183 performance_level->pcie_gen = get_pcie_gen_support(data->pcie_gen_cap,
3184 state_entry->ucPCIEGenLow); 3184 state_entry->ucPCIEGenLow);
3185 performance_level->pcie_lane = get_pcie_lane_support(data->pcie_lane_cap, 3185 performance_level->pcie_lane = get_pcie_lane_support(data->pcie_lane_cap,
3186 state_entry->ucPCIELaneHigh); 3186 state_entry->ucPCIELaneLow);
3187 3187
3188 performance_level = &(smu7_power_state->performance_levels 3188 performance_level = &(smu7_power_state->performance_levels
3189 [smu7_power_state->performance_level_count++]); 3189 [smu7_power_state->performance_level_count++]);