OSDN Git Service

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>
Fri, 13 Sep 2019 22:49:32 +0000 (17:49 -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 e1b09bb..9590ca5 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: