summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cypress_dpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/cypress_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/cypress_dpm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cypress_dpm.c b/drivers/gpu/drm/radeon/cypress_dpm.c
index 0097ff725e6..5ada922e5ce 100644
--- a/drivers/gpu/drm/radeon/cypress_dpm.c
+++ b/drivers/gpu/drm/radeon/cypress_dpm.c
@@ -2015,8 +2015,10 @@ int cypress_dpm_set_power_state(struct radeon_device *rdev)
cypress_notify_link_speed_change_after_state_change(rdev, new_ps, old_ps);
ret = rv770_unrestrict_performance_levels_after_switch(rdev);
- if (ret)
+ if (ret) {
+ DRM_ERROR("rv770_unrestrict_performance_levels_after_switch failed\n");
return ret;
+ }
return 0;
}