diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-07-31 12:41:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-07 17:37:09 -0400 |
commit | fda837241f3680e5dc554c26e178c2deec7a039c (patch) | |
tree | fea4895f83a15b287e16aa3c003693407c4ca821 /drivers/gpu/drm/radeon/ni_dpm.c | |
parent | e1accbf0543eecfdb161131208c3dfefee22d61f (diff) |
drm/radeon/dpm: adjust thermal protection requirements
On rv770 and newer, clock gating is not required
for thermal protection. The only requirement is that
the design utilizes a thermal sensor.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni_dpm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/ni_dpm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/ni_dpm.c b/drivers/gpu/drm/radeon/ni_dpm.c index 4f9b9bc20daa..c560318d3f19 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.c +++ b/drivers/gpu/drm/radeon/ni_dpm.c | |||
@@ -4188,8 +4188,7 @@ int ni_dpm_init(struct radeon_device *rdev) | |||
4188 | 4188 | ||
4189 | pi->dynamic_pcie_gen2 = true; | 4189 | pi->dynamic_pcie_gen2 = true; |
4190 | 4190 | ||
4191 | if (pi->gfx_clock_gating && | 4191 | if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE) |
4192 | (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE)) | ||
4193 | pi->thermal_protection = true; | 4192 | pi->thermal_protection = true; |
4194 | else | 4193 | else |
4195 | pi->thermal_protection = false; | 4194 | pi->thermal_protection = false; |