projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70a033d
)
drm/amd/powerplay: delete useless code in iceland_hwmgr.c.
author
Rex Zhu
<
[email protected]
>
Mon, 22 Aug 2016 12:49:36 +0000
(20:49 +0800)
committer
Alex Deucher
<
[email protected]
>
Wed, 24 Aug 2016 20:25:06 +0000
(16:25 -0400)
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Rex Zhu <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/iceland_hwmgr.c
index f48f3eac5ba4bd6b895c437dd2b4eb76513cbd74..8a7ada50551c9e2edec30a02552f5cc1a6bdc473 100644
(file)
--- 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);