aboutsummaryrefslogtreecommitdiffstats
path: root/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-08-03 15:46:42 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 13:50:29 -0400
commitd01c361af5c21be6a22a595f2338b3716ce7f417 (patch)
tree6b9711b1a9da15e537ef116d516fcc478b5a7dd4 /amdgpu/amdgpu.h
parent7d418f906cbc01b3c3e61b9d05fc73f46882a55f (diff)
downloadexternal_libdrm-d01c361af5c21be6a22a595f2338b3716ce7f417.tar.gz
external_libdrm-d01c361af5c21be6a22a595f2338b3716ce7f417.tar.bz2
external_libdrm-d01c361af5c21be6a22a595f2338b3716ce7f417.zip
amdgpu: expose the PCI revision ID
The PCI revision ID can be used to differentiate ASICs. Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'amdgpu/amdgpu.h')
-rw-r--r--amdgpu/amdgpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index 06020d96..a90c1ac7 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -466,6 +466,8 @@ struct amdgpu_gpu_info {
uint32_t ce_ram_size;
/* vce harvesting instance */
uint32_t vce_harvest_config;
+ /* PCI revision ID */
+ uint32_t pci_rev_id;
};