drm/amdgpu: disable stutter mode for renoir
authorAaron Liu <aaron.liu@amd.com>
Wed, 4 Sep 2019 03:47:48 +0000 (11:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Sep 2019 18:56:03 +0000 (13:56 -0500)
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index e1b09bb432bdb6b556530c1edfb5be65f0c0ff38..9590ca552a284533ed9bd3aeecbdfe98ae7a417c 100644 (file)
@@ -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: