Commit 173dbb0e authored by Alex Deucher's avatar Alex Deucher

add dpm_set_power_state failure output (7xx-ni)

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 72dd2c54
......@@ -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;
......
......@@ -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;
}
......
......@@ -3795,8 +3795,10 @@ int ni_dpm_set_power_state(struct radeon_device *rdev)
#if 0
/* XXX */
ret = ni_unrestrict_performance_levels_after_switch(rdev);
if (ret)
if (ret) {
DRM_ERROR("ni_unrestrict_performance_levels_after_switch failed\n");
return ret;
}
#endif
return 0;
......
......@@ -2047,8 +2047,10 @@ int rv770_dpm_set_power_state(struct radeon_device *rdev)
rv770_program_dcodt_after_state_switch(rdev, new_ps, old_ps);
rv770_set_uvd_clock_after_set_eng_clock(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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment