]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/gpu/drm/radeon/btc_dpm.c
drm/radeon/dpm: adjust thermal protection requirements
[linux-imx.git] / drivers / gpu / drm / radeon / btc_dpm.c
index 0bfd55e088201d79e3499b8c98585895f2c736c8..e7c128b48112d009d367e8fc9c0f86835d18077d 100644 (file)
@@ -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;