diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2019-04-14 23:34:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 19:59:28 -0400 |
commit | 5aa91248c080da44d0c052b9b71efcc75d11cc8b (patch) | |
tree | e607326d01891fc542de2c4753acd2401ed14567 | |
parent | 7f785e7843a4024aeb4c17c3ff53c395aca84d64 (diff) |
drm/amdgpu/mes10.1: add mes firmware info fields
The newly added fields is to store mes firmware related information.
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h index 788084310dd5..78fe49033543 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |||
@@ -29,6 +29,22 @@ struct amdgpu_mes_funcs; | |||
29 | struct amdgpu_mes { | 29 | struct amdgpu_mes { |
30 | struct amdgpu_adev *adev; | 30 | struct amdgpu_adev *adev; |
31 | 31 | ||
32 | const struct firmware *fw; | ||
33 | |||
34 | /* mes ucode */ | ||
35 | struct amdgpu_bo *ucode_fw_obj; | ||
36 | uint64_t ucode_fw_gpu_addr; | ||
37 | uint32_t *ucode_fw_ptr; | ||
38 | uint32_t ucode_fw_version; | ||
39 | uint64_t uc_start_addr; | ||
40 | |||
41 | /* mes ucode data */ | ||
42 | struct amdgpu_bo *data_fw_obj; | ||
43 | uint64_t data_fw_gpu_addr; | ||
44 | uint32_t *data_fw_ptr; | ||
45 | uint32_t data_fw_version; | ||
46 | uint64_t data_start_addr; | ||
47 | |||
32 | /* ip specific functions */ | 48 | /* ip specific functions */ |
33 | struct amdgpu_mes_funcs *funcs; | 49 | struct amdgpu_mes_funcs *funcs; |
34 | }; | 50 | }; |