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:
abf412b
)
drm/amdgpu: update tmr mc address
author
James Zhu
<
[email protected]
>
Thu, 9 Aug 2018 16:31:39 +0000
(
00:31
+0800)
committer
Alex Deucher
<
[email protected]
>
Mon, 13 Aug 2018 22:18:54 +0000
(17:18 -0500)
Update tmr mc address with firmware loading address
which is returned from PSP firmware
Signed-off-by: James Zhu <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Acked-by: Huang Rui <
[email protected]
>
Reviewed-by: Likun Gao <
[email protected]
>
Signed-off-by: Likun Gao <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 9f1a5bd39ae8a8667d31fe025bdf3f0e2fc5b99b..5b39d139963046bb851df3c0ebdb4746c50ed8ae 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@
-131,6
+131,11
@@
psp_cmd_submit_buf(struct psp_context *psp,
msleep(1);
}
+ if (ucode) {
+ ucode->tmr_mc_addr_lo = psp->cmd_buf_mem->resp.fw_addr_lo;
+ ucode->tmr_mc_addr_hi = psp->cmd_buf_mem->resp.fw_addr_hi;
+ }
+
return ret;
}