amdgpu IP blocks booting need Trust Memory Region(tmr) mac address
of its firmware which is loaded by PSP

Signed-off-by: James Zhu <james....@amd.com>
Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
index 11e81a3..e9d64e7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
@@ -232,6 +232,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;
 };
 
 struct amdgpu_firmware {
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to