Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jack Xiao and committed by
Alex Deucher
5aa91248 7f785e78

+16
+16
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
··· 29 29 struct amdgpu_mes { 30 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 48 /* ip specific functions */ 33 49 struct amdgpu_mes_funcs *funcs; 34 50 };