summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2019-09-04 06:47:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-09-17 21:56:03 +0300
commit5813f97a5969bf1e7e723397a74e00b5de7278d6 (patch)
treee30c6f2d1478c8e549784c6661f9b80f3452e40d
parent59b263620c2102171a85f4518d65a571c352ab9a (diff)
downloadlinux-5813f97a5969bf1e7e723397a74e00b5de7278d6.tar.xz
drm/amdgpu: disable stutter mode for renoir
With stutter mode enabled, NMI prints frequently. Disable stutter for the moment because NMI warning storm, and will enable it back till the issue is addressed Signed-off-by: Aaron Liu <aaron.liu@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index e1b09bb432bd..9590ca552a28 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -2384,6 +2384,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
if (adev->asic_type != CHIP_CARRIZO && adev->asic_type != CHIP_STONEY)
dm->dc->debug.disable_stutter = amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false : true;
+ if (adev->asic_type == CHIP_RENOIR)
+ dm->dc->debug.disable_stutter = true;
return 0;
fail: