|
@@ -1532,10 +1532,6 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
|
|
DRM_ERROR("DM: Failed to initialize IRQ\n");
|
|
DRM_ERROR("DM: Failed to initialize IRQ\n");
|
|
goto fail;
|
|
goto fail;
|
|
}
|
|
}
|
|
- /*
|
|
|
|
- * Temporary disable until pplib/smu interaction is implemented
|
|
|
|
- */
|
|
|
|
- dm->dc->debug.disable_stutter = amdgpu_pp_feature_mask & PP_STUTTER_MODE ? false : true;
|
|
|
|
break;
|
|
break;
|
|
#endif
|
|
#endif
|
|
default:
|
|
default:
|
|
@@ -1543,6 +1539,9 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
|
|
goto fail;
|
|
goto fail;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ 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;
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
fail:
|
|
fail:
|
|
kfree(aencoder);
|
|
kfree(aencoder);
|