Commit 7d98e1e7 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/powerplay: fix mclk switch limit on polaris



Update switch limit on newer polaris variants.  This may fix
flickering with high refresh rates with mclk switching enabled.

Reviewed-by: default avatarJunwei Zhang <Jerry.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0cf5eb76
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2859,6 +2859,9 @@ static int smu7_vblank_too_short(struct pp_hwmgr *hwmgr,
	case CHIP_POLARIS10:
	case CHIP_POLARIS11:
	case CHIP_POLARIS12:
		if (hwmgr->is_kicker)
			switch_limit_us = data->is_memory_gddr5 ? 450 : 150;
		else
			switch_limit_us = data->is_memory_gddr5 ? 190 : 150;
		break;
	case CHIP_VEGAM: