> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf > Of Rex Zhu > Sent: Monday, August 22, 2016 8:50 AM > To: amd-gfx at lists.freedesktop.org > Cc: Zhu, Rex > Subject: [PATCH 4/4] drm/amd/powerplay: delete useless code in > iceland_hwmgr.c. > > Change-Id: I6f900a1982a5f47f98949a858c7cdd287b338c89 > Signed-off-by: Rex Zhu <Rex.Zhu at amd.com> Reviewed-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c > b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c > index f48f3ea..8a7ada5 100644 > --- a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c > +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c > @@ -2445,8 +2445,6 @@ static int > iceland_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) > /* set pcieDpmLevel to mid_pcie_level_enabled*/ > data->smc_state_table.GraphicsLevel[1].pcieDpmLevel = > mid_pcie_level_enabled; > > - for (i = 0; i < dpm_table->sclk_table.count; i++) > - > /* level count will send to smc once at init smc table and never > change*/ > result = iceland_copy_bytes_to_smc(hwmgr->smumgr, > level_array_adress, (uint8_t *)levels, (uint32_t)level_array_size, data- > >sram_end); > > -- > 1.9.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx