summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Liu <aaron.liu@amd.com>2019-09-04 11:47:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-09-13 17:49:32 -0500
commit811bc15b49fe2dde87b9109b5eeea8ebe6420c79 (patch)
treebbf2a63de539c5e0f1b7a7279e8dc23070719115
parent59d1ace3c78b1eb5662419002ddec6fc28630d42 (diff)
downloadlinux-811bc15b49fe2dde87b9109b5eeea8ebe6420c79.tar.bz2
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: