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:
bcb5487
)
drm/amd/powerplay: fix issue can't load another smu firmware.
author
Rex Zhu
<
[email protected]
>
Thu, 15 Dec 2016 09:39:04 +0000
(17:39 +0800)
committer
Alex Deucher
<
[email protected]
>
Fri, 27 Jan 2017 16:12:55 +0000
(11:12 -0500)
need to release failed smu firmware before load another
firmware.
Signed-off-by: Rex Zhu <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Reviewed-by: Huang Rui <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
b/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
index 8d6d9143f711068c11dbc82143616237bb61daf8..47fbc733ab55cf0d59a842bd195c4d0554bdddc9 100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
@@
-328,6
+328,7
@@
static int polaris10_start_smu(struct pp_smumgr *smumgr)
/* If failed, try with different security Key. */
if (result != 0) {
smu_data->smu7_data.security_hard_key ^= 1;
+ cgs_rel_firmware(smumgr->device, CGS_UCODE_ID_SMU);
result = polaris10_start_smu_in_protection_mode(smumgr);
}
}