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 /drivers/gpu | |
parent | a71e06d97293bca733e3a98006aa415a2f87a8c2 (diff) | |
download | op-kernel-dev-aa22ae4b1f23a52c7e92599ee47a9b9fbb129604.zip op-kernel-dev-aa22ae4b1f23a52c7e92599ee47a9b9fbb129604.tar.gz |
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/gpu')
-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 49f8af5..3cb5d04 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); |