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:
557ce95
)
drm/amdgpu:add tmr mc address into amdgpu_firmware_info
author
James Zhu
<
[email protected]
>
Thu, 9 Aug 2018 16:31:38 +0000
(
00:31
+0800)
committer
Alex Deucher
<
[email protected]
>
Mon, 13 Aug 2018 22:18:39 +0000
(17:18 -0500)
amdgpu IP blocks booting need Trust Memory Region(tmr) mc address
of its firmware which is loaded by PSP
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_ucode.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
index 08e38579af246c57c378c42526b36bdbaf365244..edb7baf8f4c09e4b7a45046ddb1286f551243994 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
@@
-226,6
+226,9
@@
struct amdgpu_firmware_info {
void *kaddr;
/* ucode_size_bytes */
uint32_t ucode_size;
+ /* starting tmr mc address */
+ uint32_t tmr_mc_addr_lo;
+ uint32_t tmr_mc_addr_hi;
};
void amdgpu_ucode_print_mc_hdr(const struct common_firmware_header *hdr);