aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/r100.c')
-rw-r--r--drivers/gpu/drm/radeon/r100.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index f10b747024f1..6443d9ea6c11 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -123,6 +123,10 @@ void r100_get_power_state(struct radeon_device *rdev,
123 rdev->pm.current_power_state_index + 1; 123 rdev->pm.current_power_state_index + 1;
124 } 124 }
125 break; 125 break;
126 case PM_ACTION_DEFAULT:
127 rdev->pm.requested_power_state_index = rdev->pm.default_power_state_index;
128 rdev->pm.can_upclock = false;
129 break;
126 case PM_ACTION_NONE: 130 case PM_ACTION_NONE:
127 default: 131 default:
128 DRM_ERROR("Requested mode for not defined action\n"); 132 DRM_ERROR("Requested mode for not defined action\n");