[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170724133540.32200-7-ricardo.ribalda@gmail.com>
Date: Mon, 24 Jul 2017 15:35:32 +0200
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
To: Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Airlie <airlied@...ux.ie>, Rex Zhu <Rex.Zhu@....com>,
Tom St Denis <tom.stdenis@....com>,
Eric Huang <JinHuiEric.Huang@....com>,
Huang Rui <ray.huang@....com>,
Dan Carpenter <dan.carpenter@...cle.com>,
"Edward O'Callaghan" <funfunctor@...klore1984.net>,
Kees Cook <keescook@...omium.org>,
"Andrew F. Davis" <afd@...com>,
Hawking Zhang <Hawking.Zhang@....com>,
Baoyou Xie <baoyou.xie@...aro.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Colin Ian King <colin.king@...onical.com>,
Nils Wallménius <nils.wallmenius@...il.com>,
Joe Perches <joe@...ches.com>, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Subject: [PATCH 06/14] amdgpu: powerplay: iceland_smc: Assume display_config is zero
display_config is never set, we can assume it is zero.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
---
drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c b/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c
index 51adf04ab4b3..dce87fc13e0c 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c
@@ -780,8 +780,7 @@ static int iceland_populate_single_graphic_level(struct pp_hwmgr *hwmgr,
graphic_level->VoltageDownHyst = 0;
graphic_level->PowerThrottle = 0;
- data->display_timing.min_clock_in_sr =
- hwmgr->display_config.min_core_set_clock_in_sr;
+ data->display_timing.min_clock_in_sr = 0;
if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_SclkDeepSleep))
--
2.13.2
Powered by blists - more mailing lists