diff options
| author | Huang Rui <[email protected]> | 2016-10-10 07:19:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-03-30 03:53:39 +0000 |
| commit | daf42c314dbd70f892f8020d817b46793c0e1b3f (patch) | |
| tree | 332db7fbec019329695354351f4924932ed23a71 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/amdgpu: expand pte flags to uint64_t (diff) | |
| download | kernel-daf42c314dbd70f892f8020d817b46793c0e1b3f.tar.gz kernel-daf42c314dbd70f892f8020d817b46793c0e1b3f.zip | |
drm/amdgpu: add a ucode size member into firmware info
This will be used for newer asics.
Acked-by: Christian König <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h index a8a4230729f9..19a584cd4527 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -161,6 +161,8 @@ struct amdgpu_firmware_info { uint64_t mc_addr; /* kernel linear address */ void *kaddr; + /* ucode_size_bytes */ + uint32_t ucode_size; }; void amdgpu_ucode_print_mc_hdr(const struct common_firmware_header *hdr); |
