mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 23:40:25 +07:00
drm/amdgpu:add tmr mc address into amdgpu_firmware_info
amdgpu IP blocks booting need Trust Memory Region(tmr) mc address of its firmware which is loaded by PSP Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Likun Gao <likun.gao@amd.com> Signed-off-by: Likun Gao <Likun.Gao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
557ce95051
commit
abf412b3ef
@ -226,6 +226,9 @@ struct amdgpu_firmware_info {
|
|||||||
void *kaddr;
|
void *kaddr;
|
||||||
/* ucode_size_bytes */
|
/* ucode_size_bytes */
|
||||||
uint32_t ucode_size;
|
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);
|
void amdgpu_ucode_print_mc_hdr(const struct common_firmware_header *hdr);
|
||||||
|
Loading…
Reference in New Issue
Block a user