aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-02-13 16:01:58 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:54:16 -0400
commit0cdd500560e233aef4e0749c9f014e9ee8f4d752 (patch)
tree7d31e87c93c875a5d5381d4b674d715003346d26 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: add the new atomfirmware interface header (diff)
downloadlinux-dev-0cdd500560e233aef4e0749c9f014e9ee8f4d752.tar.xz
linux-dev-0cdd500560e233aef4e0749c9f014e9ee8f4d752.zip
amdgpu: detect if we are using atomfirmware or atombios for vbios (v2)
Supposedly atomfirmware rom header is 3.3 atombios is 1.1. v2: rebased on newer kernel Acked-by: Christian König <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.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 a17a54fc8f27..2790129c0b76 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1308,6 +1308,7 @@ struct amdgpu_device {
bool have_disp_power_ref;
/* BIOS */
+ bool is_atom_fw;
uint8_t *bios;
uint32_t bios_size;
struct amdgpu_bo *stollen_vga_memory;