summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-12-11 12:39:01 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-12-21 16:42:55 -0500
commitaa22ae4b1f23a52c7e92599ee47a9b9fbb129604 (patch)
tree84b2b4ad6f8fd69ed826cbdde29517e70d4d5855 /drivers
parenta71e06d97293bca733e3a98006aa415a2f87a8c2 (diff)
downloadlinux-aa22ae4b1f23a52c7e92599ee47a9b9fbb129604.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c2
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)
/* Initalize Dynamic State Adjustment Rule Settings*/
result = tonga_initializa_dynamic_state_adjustment_rule_settings(hwmgr);
+ if (result)
+ printk(KERN_ERR "[ powerplay ] tonga_initializa_dynamic_state_adjustment_rule_settings failed!\n");
data->uvd_enabled = 0;
table = &(data->smc_state_table);