aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2016-12-07 01:56:46 +0000
committerAlex Deucher <[email protected]>2016-12-08 19:09:05 +0000
commita9f5db9ca7a92aa00af82b3d10416e34b31a9493 (patch)
tree9357b843471cd7e8584c19184d5db8819e1edae1 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: update golden setting of tonga (diff)
downloadkernel-a9f5db9ca7a92aa00af82b3d10416e34b31a9493.tar.gz
kernel-a9f5db9ca7a92aa00af82b3d10416e34b31a9493.zip
drm/amd/amdgpu: stored bios_size
It's necessary if we want to export vbios image out. Reviewed-by: Edward O'Callaghan <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian Koenig <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
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 {
/* BIOS */
uint8_t *bios;
+ uint32_t bios_size;
bool is_atom_bios;
struct amdgpu_bo *stollen_vga_memory;
uint32_t bios_scratch[AMDGPU_BIOS_NUM_SCRATCH];