summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher2010-03-15 06:36:32 +0100
committerDave Airlie2010-03-31 01:54:02 +0200
commit06abdb0ec6b91f634631404012c4d646389e9e0b (patch)
treed1581608d9d0e53feec3f960fbe1eda0ab4c7249
parentdrm/radeon/kms: gfx init fixes for r6xx/r7xx (diff)
downloadkernel-qcow2-linux-06abdb0ec6b91f634631404012c4d646389e9e0b.tar.gz
kernel-qcow2-linux-06abdb0ec6b91f634631404012c4d646389e9e0b.tar.xz
kernel-qcow2-linux-06abdb0ec6b91f634631404012c4d646389e9e0b.zip
drm/radeon/kms/pm: fix typo in power table parsing
Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_atombios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c b/drivers/gpu/drm/radeon/radeon_atombios.c
index 815116e38aa3..92e688697165 100644
--- a/drivers/gpu/drm/radeon/radeon_atombios.c
+++ b/drivers/gpu/drm/radeon/radeon_atombios.c
@@ -1734,7 +1734,7 @@ void radeon_atombios_get_power_modes(struct radeon_device *rdev)
/* add the i2c bus for thermal/fan chip */
/* no support for internal controller yet */
if (power_info->info_4.sThermalController.ucType > 0) {
- if ((power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) &&
+ if ((power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) ||
(power_info->info_4.sThermalController.ucType == ATOM_PP_THERMALCONTROLLER_RV770)) {
DRM_INFO("Internal thermal controller %s fan control\n",
(power_info->info_4.sThermalController.ucFanParameters &