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>
This commit is contained in:
parent
7f785e7843
commit
5aa91248c0
@ -29,6 +29,22 @@ struct amdgpu_mes_funcs;
|
|||||||
struct amdgpu_mes {
|
struct amdgpu_mes {
|
||||||
struct amdgpu_adev *adev;
|
struct amdgpu_adev *adev;
|
||||||
|
|
||||||
|
const struct firmware *fw;
|
||||||
|
|
||||||
|
/* mes ucode */
|
||||||
|
struct amdgpu_bo *ucode_fw_obj;
|
||||||
|
uint64_t ucode_fw_gpu_addr;
|
||||||
|
uint32_t *ucode_fw_ptr;
|
||||||
|
uint32_t ucode_fw_version;
|
||||||
|
uint64_t uc_start_addr;
|
||||||
|
|
||||||
|
/* mes ucode data */
|
||||||
|
struct amdgpu_bo *data_fw_obj;
|
||||||
|
uint64_t data_fw_gpu_addr;
|
||||||
|
uint32_t *data_fw_ptr;
|
||||||
|
uint32_t data_fw_version;
|
||||||
|
uint64_t data_start_addr;
|
||||||
|
|
||||||
/* ip specific functions */
|
/* ip specific functions */
|
||||||
struct amdgpu_mes_funcs *funcs;
|
struct amdgpu_mes_funcs *funcs;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user