From 80a3b333dba48c9ce466d4a641e802a91d129efc Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 11 Dec 2015 12:39:01 -0500 Subject: [PATCH 0130/1110] 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 --- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.7.4