]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/radeon/ni_dpm.c
drm/radeon/dpm: adjust thermal protection requirements
[~andy/linux] / drivers / gpu / drm / radeon / ni_dpm.c
index 4f9b9bc20daaccde2911de65882c5a9c32d23f15..c560318d3f19d3e0f4f704857755e7bd6f949cf8 100644 (file)
@@ -4188,8 +4188,7 @@ int ni_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;