]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/gpu/drm/radeon/rv770_dpm.c
drm/radeon/dpm: adjust thermal protection requirements
[linux-imx.git] / drivers / gpu / drm / radeon / rv770_dpm.c
index 2d347925f77d6d116c95c01cc3045c148ac446b1..2ae54bba14d4fbaab63c399850b12a7937e3bd44 100644 (file)
@@ -2393,8 +2393,7 @@ int rv770_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;