Commit 83da6eea authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/pm: increase mclk switch threshold to 200 us

To avoid underflow seen on Polaris10 with some 3440x1440
144Hz displays. As the threshold of 190 us cuts too close
to minVBlankTime of 192 us.
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 39ec39d7
...@@ -2883,7 +2883,7 @@ static int smu7_vblank_too_short(struct pp_hwmgr *hwmgr, ...@@ -2883,7 +2883,7 @@ static int smu7_vblank_too_short(struct pp_hwmgr *hwmgr,
if (hwmgr->is_kicker) if (hwmgr->is_kicker)
switch_limit_us = data->is_memory_gddr5 ? 450 : 150; switch_limit_us = data->is_memory_gddr5 ? 450 : 150;
else else
switch_limit_us = data->is_memory_gddr5 ? 190 : 150; switch_limit_us = data->is_memory_gddr5 ? 200 : 150;
break; break;
case CHIP_VEGAM: case CHIP_VEGAM:
switch_limit_us = 30; switch_limit_us = 30;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment