From: Alex Deucher Date: Fri, 11 Dec 2015 17:39:01 +0000 (-0500) Subject: drm/powerplay/hwmgr: log errors in tonga_hwmgr_backend_init X-Git-Tag: v4.5-rc1~74^2~19^2~8 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=aa22ae4b1f23a52c7e92599ee47a9b9fbb129604;p=linux-2.6-block.git drm/powerplay/hwmgr: log errors in tonga_hwmgr_backend_init Helpful in debugging init issues. Reviewed-by: Tom St Denis Signed-off-by: Alex Deucher --- 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);