summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/btc_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-07-31 12:41:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2013-08-07 17:37:09 -0400
commitfda837241f3680e5dc554c26e178c2deec7a039c (patch)
treefea4895f83a15b287e16aa3c003693407c4ca821 /drivers/gpu/drm/radeon/btc_dpm.c
parente1accbf0543eecfdb161131208c3dfefee22d61f (diff)
downloadlinux-fda837241f3680e5dc554c26e178c2deec7a039c.tar.gz
linux-fda837241f3680e5dc554c26e178c2deec7a039c.tar.bz2
linux-fda837241f3680e5dc554c26e178c2deec7a039c.zip
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/btc_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/btc_dpm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/btc_dpm.c b/drivers/gpu/drm/radeon/btc_dpm.c
index 0bfd55e08820..e7c128b48112 100644
--- a/drivers/gpu/drm/radeon/btc_dpm.c
+++ b/drivers/gpu/drm/radeon/btc_dpm.c
@@ -2659,8 +2659,7 @@ int btc_dpm_init(struct radeon_device *rdev)
pi->dynamic_pcie_gen2 = true;
- if (pi->gfx_clock_gating &&
- (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE))
+ if (rdev->pm.int_thermal_type != THERMAL_TYPE_NONE)
pi->thermal_protection = true;
else
pi->thermal_protection = false;