diff options
| author | Evan Quan <evan.quan@amd.com> | 2016-12-06 20:56:46 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2016-12-08 14:09:05 -0500 |
| commit | a9f5db9ca7a92aa00af82b3d10416e34b31a9493 (patch) | |
| tree | 9357b843471cd7e8584c19184d5db8819e1edae1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | ff9d646017b9c7aaa5e33ef62d608309bb9fd91e (diff) | |
drm/amd/amdgpu: stored bios_size
It's necessary if we want to export vbios image out.
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian Koenig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 29d3a914fc88..f31936b65a58 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
| @@ -1330,6 +1330,7 @@ struct amdgpu_device { | |||
| 1330 | 1330 | ||
| 1331 | /* BIOS */ | 1331 | /* BIOS */ |
| 1332 | uint8_t *bios; | 1332 | uint8_t *bios; |
| 1333 | uint32_t bios_size; | ||
| 1333 | bool is_atom_bios; | 1334 | bool is_atom_bios; |
| 1334 | struct amdgpu_bo *stollen_vga_memory; | 1335 | struct amdgpu_bo *stollen_vga_memory; |
| 1335 | uint32_t bios_scratch[AMDGPU_BIOS_NUM_SCRATCH]; | 1336 | uint32_t bios_scratch[AMDGPU_BIOS_NUM_SCRATCH]; |
