]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/gpu/drm/radeon/cypress_dpm.c
drm/radeon/dpm: adjust thermal protection requirements
[linux-imx.git] / drivers / gpu / drm / radeon / cypress_dpm.c
index 9bcdd174780f2a8ec618cf255ad2c37690a2237f..c840e079be5b43824f732094318eb4c488b7de85 100644 (file)
@@ -2122,8 +2122,7 @@ int cypress_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;