Skip to content

Commit

Permalink
drm/amd/powerplay: delete useless code in iceland_hwmgr.c.
Browse files Browse the repository at this point in the history
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
  • Loading branch information
Rex Zhu authored and Alex Deucher committed Aug 24, 2016
1 parent 70a033d commit 39a5830
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 39a5830

Please sign in to comment.