diff options
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_pm.c b/drivers/gpu/drm/radeon/radeon_pm.c index 79d3336eede5..7cc54c804cb0 100644 --- a/drivers/gpu/drm/radeon/radeon_pm.c +++ b/drivers/gpu/drm/radeon/radeon_pm.c | |||
@@ -58,6 +58,9 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev, int static_switch) | |||
58 | { | 58 | { |
59 | int i; | 59 | int i; |
60 | 60 | ||
61 | if (!static_switch) | ||
62 | radeon_get_power_state(rdev, rdev->pm.planned_action); | ||
63 | |||
61 | mutex_lock(&rdev->cp.mutex); | 64 | mutex_lock(&rdev->cp.mutex); |
62 | 65 | ||
63 | /* wait for GPU idle */ | 66 | /* wait for GPU idle */ |