summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/atom.h
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2017-03-06 11:33:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:26 -0400
commitcf4270ec689d4b3672941ecfe87578125020c9d7 (patch)
treee731288155719b94643a53d7167d08b20a22f9d1 /drivers/gpu/drm/amd/amdgpu/atom.h
parentc5cb934ebd4cfc007f81e0a36c504f33fa5b8361 (diff)
drm/amdgpu: print full bios version in dmesg.
v2: fix merge error. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Xiaojie Yuan <Xiaojie.Yuan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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