diff options
| author | Jack Xiao <[email protected]> | 2019-04-15 03:34:03 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-21 23:59:28 +0000 |
| commit | 5aa91248c080da44d0c052b9b71efcc75d11cc8b (patch) | |
| tree | e607326d01891fc542de2c4753acd2401ed14567 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amdgpu/ucode: add mes firmware file support (diff) | |
| download | kernel-5aa91248c080da44d0c052b9b71efcc75d11cc8b.tar.gz kernel-5aa91248c080da44d0c052b9b71efcc75d11cc8b.zip | |
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 <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
| -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; struct amdgpu_mes { 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 */ struct amdgpu_mes_funcs *funcs; }; |
