summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/btc_dpm.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:04:16 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:40:08 +0400
commit173dbb0ef6568f1da666ae846ecd5ce622076dbc (patch)
tree7b61a52e186ccd1cb49f39d88934017d8899b83d /drivers/gpu/drm/radeon/btc_dpm.c
parent72dd2c54ee630701608c08fd85e0eaf75336e31c (diff)
downloadlinux-173dbb0ef6568f1da666ae846ecd5ce622076dbc.tar.xz
add dpm_set_power_state failure output (7xx-ni)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/btc_dpm.c')
-rw-r--r--drivers/gpu/drm/radeon/btc_dpm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/btc_dpm.c b/drivers/gpu/drm/radeon/btc_dpm.c
index 0cbf75e07849..bab018583417 100644
--- a/drivers/gpu/drm/radeon/btc_dpm.c
+++ b/drivers/gpu/drm/radeon/btc_dpm.c
@@ -2329,8 +2329,10 @@ int btc_dpm_set_power_state(struct radeon_device *rdev)
#if 0
/* XXX */
ret = rv770_unrestrict_performance_levels_after_switch(rdev);
- if (ret)
+ if (ret) {
+ DRM_ERROR("rv770_unrestrict_performance_levels_after_switch failed\n");
return ret;
+ }
#endif
return 0;