aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.h
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2017-03-06 03:33:25 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:53:26 +0000
commitcf4270ec689d4b3672941ecfe87578125020c9d7 (patch)
treee731288155719b94643a53d7167d08b20a22f9d1 /drivers/gpu/drm/amd/amdgpu/atom.h
parentdrm/amdgpu: disable HDP flushes on APUs (diff)
downloadkernel-cf4270ec689d4b3672941ecfe87578125020c9d7.tar.gz
kernel-cf4270ec689d4b3672941ecfe87578125020c9d7.zip
drm/amdgpu: print full bios version in dmesg.
v2: fix merge error. Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Xiaojie Yuan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/atom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.h b/drivers/gpu/drm/amd/amdgpu/atom.h
index 49daf6d723e5..baa2438d7883 100644
--- a/drivers/gpu/drm/amd/amdgpu/atom.h
+++ b/drivers/gpu/drm/amd/amdgpu/atom.h
@@ -32,6 +32,7 @@
#define ATOM_ATI_MAGIC_PTR 0x30
#define ATOM_ATI_MAGIC " 761295520"
#define ATOM_ROM_TABLE_PTR 0x48
+#define ATOM_ROM_PART_NUMBER_PTR 0x6E
#define ATOM_ROM_MAGIC "ATOM"
#define ATOM_ROM_MAGIC_PTR 4