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:
d1a7f7a
)
drm/admgpu/powerplay/polaris: fix powertune table upload
author
Rex Zhu
<
[email protected]
>
Mon, 23 May 2016 10:24:41 +0000
(18:24 +0800)
committer
Alex Deucher
<
[email protected]
>
Thu, 9 Jun 2016 14:48:53 +0000
(10:48 -0400)
Exclude AVFS related fields when update powertune table to hw.
The driver shouldn't set them directly.
Signed-off-by: Rex Zhu <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c
index 0b99ab3ba0c5063ca8d3cd70c91e3bab0c3f5ab1..ae96f14b827cd45261483d18a19cd6de1e3b3420 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_powertune.c
@@
-286,7
+286,7
@@
int polaris10_populate_pm_fuses(struct pp_hwmgr *hwmgr)
if (polaris10_copy_bytes_to_smc(hwmgr->smumgr, pm_fuse_table_offset,
(uint8_t *)&data->power_tune_table,
-
sizeof(struct SMU74_Discrete_PmFuses
), data->sram_end))
+
(sizeof(struct SMU74_Discrete_PmFuses) - 92
), data->sram_end))
PP_ASSERT_WITH_CODE(false,
"Attempt to download PmFuseTable Failed!",
return -EINVAL);