diff options
| author | Alex Deucher <alexander.deucher@amd.com> | 2015-12-11 12:39:01 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-21 16:42:55 -0500 |
| commit | aa22ae4b1f23a52c7e92599ee47a9b9fbb129604 (patch) | |
| tree | 84b2b4ad6f8fd69ed826cbdde29517e70d4d5855 | |
| parent | a71e06d97293bca733e3a98006aa415a2f87a8c2 (diff) | |
drm/powerplay/hwmgr: log errors in tonga_hwmgr_backend_init
Helpful in debugging init issues.
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
| -rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c index 49f8af515d73..3cb5d041b3cf 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | |||
| @@ -4557,6 +4557,8 @@ int tonga_hwmgr_backend_init(struct pp_hwmgr *hwmgr) | |||
| 4557 | 4557 | ||
| 4558 | /* Initalize Dynamic State Adjustment Rule Settings*/ | 4558 | /* Initalize Dynamic State Adjustment Rule Settings*/ |
| 4559 | result = tonga_initializa_dynamic_state_adjustment_rule_settings(hwmgr); | 4559 | result = tonga_initializa_dynamic_state_adjustment_rule_settings(hwmgr); |
| 4560 | if (result) | ||
| 4561 | printk(KERN_ERR "[ powerplay ] tonga_initializa_dynamic_state_adjustment_rule_settings failed!\n"); | ||
| 4560 | data->uvd_enabled = 0; | 4562 | data->uvd_enabled = 0; |
| 4561 | 4563 | ||
| 4562 | table = &(data->smc_state_table); | 4564 | table = &(data->smc_state_table); |
