aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorXiaojie Yuan2017-05-31 15:22:50 -0500
committerMichel Dänzer2017-06-12 20:21:39 -0500
commit7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc (patch)
treeb9d9c516ea93037df1d9d248939ca8d26a524e3e /data
parent87dac00db38fa962c2fd6aa66c8482a9d7464903 (diff)
downloadexternal-libdrm-7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc.tar.gz
external-libdrm-7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc.tar.xz
external-libdrm-7e6bf88cac315a9fa41818cf72a7b5d18a2cb1fc.zip
amdgpu: move asic id table to a separate file
v2: fix an off by one error and leading white spaces v3: use thread safe strtok_r(); initialize len before calling getline(); change printf() to drmMsg(); add initial amdgpu.ids v4: integrate some recent internal changes, including format changes v5: fix line number for empty/commented lines; realloc to save memory; indentation changes v6: remove a line error v7: [Michel Dänzer] * Move amdgpu.ids to new data directory * Remove placeholder entries from amdgpu.ids * Set libdrmdatadir variable in configure.ac instead of Makefile.am [Emil Velikov] * Use isblank() instead of open-coding it [Emil Velikov] * Don't leak asic_id_table memory if realloc fails [Emil Velikov] * Check and bump table_max_size at the beginning of the while loop [Emil Velikov] * Initialize table_max_size to the number of entries in data/amdgpu.ids v8: [Michel Dänzer] * Make sure amdgpu_asic_id.c gets rebuilt when amdgpu.ids changes Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Samuel Li <Samuel.Li@amd.com>
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am23
-rw-r--r--data/amdgpu.ids159
2 files changed, 182 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 00000000..eba915dd
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,23 @@
1# Copyright © 2017 Advanced Micro Devices, Inc.
2# All Rights Reserved.
3#
4# Permission is hereby granted, free of charge, to any person obtaining a
5# copy of this software and associated documentation files (the "Software"),
6# to deal in the Software without restriction, including without limitation
7# on the rights to use, copy, modify, merge, publish, distribute, sub
8# license, and/or sell copies of the Software, and to permit persons to whom
9# the Software is furnished to do so, subject to the following conditions:
10#
11# The above copyright notice and this permission notice (including the next
12# paragraph) shall be included in all copies or substantial portions of the
13# Software.
14#
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
18# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22libdrmdatadir = @libdrmdatadir@
23dist_libdrmdata_DATA = amdgpu.ids
diff --git a/data/amdgpu.ids b/data/amdgpu.ids
new file mode 100644
index 00000000..0b98c3c3
--- /dev/null
+++ b/data/amdgpu.ids
@@ -0,0 +1,159 @@
1# List of AMDGPU IDs
2#
3# Syntax:
4# device_id, revision_id, product_name <-- single tab after comma
5
61.0.0
76600, 0, AMD Radeon HD 8600/8700M
86600, 81, AMD Radeon (TM) R7 M370
96601, 0, AMD Radeon (TM) HD 8500M/8700M
106604, 0, AMD Radeon R7 M265 Series
116604, 81, AMD Radeon (TM) R7 M350
126605, 0, AMD Radeon R7 M260 Series
136605, 81, AMD Radeon (TM) R7 M340
146606, 0, AMD Radeon HD 8790M
156607, 0, AMD Radeon (TM) HD8530M
166608, 0, AMD FirePro W2100
176610, 0, AMD Radeon HD 8600 Series
186610, 81, AMD Radeon (TM) R7 350
196610, 83, AMD Radeon (TM) R5 340
206611, 0, AMD Radeon HD 8500 Series
216613, 0, AMD Radeon HD 8500 series
226617, C7, AMD Radeon R7 240 Series
236640, 0, AMD Radeon HD 8950
246640, 80, AMD Radeon (TM) R9 M380
256646, 0, AMD Radeon R9 M280X
266646, 80, AMD Radeon (TM) R9 M470X
276647, 0, AMD Radeon R9 M270X
286647, 80, AMD Radeon (TM) R9 M380
296649, 0, AMD FirePro W5100
306658, 0, AMD Radeon R7 200 Series
31665C, 0, AMD Radeon HD 7700 Series
32665D, 0, AMD Radeon R7 200 Series
33665F, 81, AMD Radeon (TM) R7 300 Series
346660, 0, AMD Radeon HD 8600M Series
356660, 81, AMD Radeon (TM) R5 M335
366660, 83, AMD Radeon (TM) R5 M330
376663, 0, AMD Radeon HD 8500M Series
386663, 83, AMD Radeon (TM) R5 M320
396664, 0, AMD Radeon R5 M200 Series
406665, 0, AMD Radeon R5 M200 Series
416665, 83, AMD Radeon (TM) R5 M320
426667, 0, AMD Radeon R5 M200 Series
43666F, 0, AMD Radeon HD 8500M
446780, 0, ATI FirePro V (FireGL V) Graphics Adapter
45678A, 0, ATI FirePro V (FireGL V) Graphics Adapter
466798, 0, AMD Radeon HD 7900 Series
47679A, 0, AMD Radeon HD 7900 Series
48679B, 0, AMD Radeon HD 7900 Series
49679E, 0, AMD Radeon HD 7800 Series
5067A0, 0, AMD Radeon FirePro W9100
5167A1, 0, AMD Radeon FirePro W8100
5267B0, 0, AMD Radeon R9 200 Series
5367B0, 80, AMD Radeon (TM) R9 390 Series
5467B1, 0, AMD Radeon R9 200 Series
5567B1, 80, AMD Radeon (TM) R9 390 Series
5667B9, 0, AMD Radeon R9 200 Series
5767DF, C1, Radeon RX 580 Series
5867DF, C2, Radeon RX 570 Series
5967DF, C3, Radeon RX 580 Series
6067DF, C4, AMD Radeon (TM) RX 480 Graphics
6167DF, C5, AMD Radeon (TM) RX 470 Graphics
6267DF, C6, Radeon RX 570 Series
6367DF, C7, AMD Radeon (TM) RX 480 Graphics
6467DF, CF, AMD Radeon (TM) RX 470 Graphics
6567DF, E3, Radeon RX Series
6667DF, E7, Radeon RX 580 Series
6767DF, EF, Radeon RX 570 Series
6867C2, 01, AMD Radeon (TM) Pro V7350x2
6967C2, 02, AMD Radeon (TM) Pro V7300X
7067C4, 00, AMD Radeon (TM) Pro WX 7100 Graphics
7167C7, 00, AMD Radeon (TM) Pro WX 5100 Graphics
7267C0, 00, AMD Radeon (TM) Pro WX 7100 Graphics
7367D0, 01, AMD Radeon (TM) Pro V7350x2
7467D0, 02, AMD Radeon (TM) Pro V7300X
7567E0, 00, AMD Radeon (TM) Pro WX Series
7667E3, 00, AMD Radeon (TM) Pro WX 4100
7767E8, 00, AMD Radeon (TM) Pro WX Series
7867E8, 01, AMD Radeon (TM) Pro WX Series
7967E8, 80, AMD Radeon (TM) E9260 Graphics
8067EB, 00, AMD Radeon (TM) Pro V5300X
8167EF, C0, AMD Radeon (TM) RX Graphics
8267EF, C1, AMD Radeon (TM) RX 460 Graphics
8367EF, C3, Radeon RX Series
8467EF, C5, AMD Radeon (TM) RX 460 Graphics
8567EF, C7, AMD Radeon (TM) RX Graphics
8667EF, CF, AMD Radeon (TM) RX 460 Graphics
8767EF, E1, Radeon RX Series
8867EF, E3, Radeon RX Series
8967EF, E7, Radeon RX Series
9067EF, EF, AMD Radeon (TM) RX Graphics
9167EF, FF, Radeon RX Series
9267FF, C0, AMD Radeon (TM) RX Graphics
9367FF, C1, AMD Radeon (TM) RX Graphics
9467FF, FF, Radeon RX 550 Series
956800, 0, AMD Radeon HD 7970M
966801, 0, AMD Radeon(TM) HD8970M
976808, 0, ATI FirePro V(FireGL V) Graphics Adapter
986809, 0, ATI FirePro V(FireGL V) Graphics Adapter
996810, 0, AMD Radeon(TM) HD 8800 Series
1006810, 81, AMD Radeon (TM) R7 370 Series
1016811, 0, AMD Radeon(TM) HD8800 Series
1026811, 81, AMD Radeon (TM) R7 300 Series
1036818, 0, AMD Radeon HD 7800 Series
1046819, 0, AMD Radeon HD 7800 Series
1056820, 0, AMD Radeon HD 8800M Series
1066820, 81, AMD Radeon (TM) R9 M375
1076820, 83, AMD Radeon (TM) R9 M375X
1086821, 0, AMD Radeon HD 8800M Series
1096821, 87, AMD Radeon (TM) R7 M380
1106821, 83, AMD Radeon R9 (TM) M370X
1116822, 0, AMD Radeon E8860
1126823, 0, AMD Radeon HD 8800M Series
1136825, 0, AMD Radeon HD 7800M Series
1146827, 0, AMD Radeon HD 7800M Series
1156828, 0, ATI FirePro V(FireGL V) Graphics Adapter
116682B, 0, AMD Radeon HD 8800M Series
117682B, 87, AMD Radeon (TM) R9 M360
118682C, 0, AMD FirePro W4100
119682D, 0, AMD Radeon HD 7700M Series
120682F, 0, AMD Radeon HD 7700M Series
1216835, 0, AMD Radeon R7 Series / HD 9000 Series
1226837, 0, AMD Radeon HD7700 Series
123683D, 0, AMD Radeon HD 7700 Series
124683F, 0, AMD Radeon HD 7700 Series
1256900, 0, AMD Radeon R7 M260
1266900, 81, AMD Radeon (TM) R7 M360
1276900, 83, AMD Radeon (TM) R7 M340
1286901, 0, AMD Radeon R5 M255
1296907, 0, AMD Radeon R5 M255
1306907, 87, AMD Radeon (TM) R5 M315
1316920, 0, AMD RADEON R9 M395X
1326920, 1, AMD RADEON R9 M390X
1336921, 0, AMD Radeon R9 M295X
1346929, 0, AMD FirePro S7150
135692B, 0, AMD FirePro W7100
1366938, 0, AMD Radeon R9 200 Series
1376938, F0, AMD Radeon R9 200 Series
1386938, F1, AMD Radeon (TM) R9 380 Series
1396939, F0, AMD Radeon R9 200 Series
1406939, 0, AMD Radeon R9 200 Series
1416939, F1, AMD Radeon (TM) R9 380 Series
1426985, 00, AMD Radeon Pro WX3100
1436995, 00, AMD Radeon Pro WX2100
144699F, C0, Radeon 500 Series
145699F, C3, Radeon 500 Series
146699F, C7, Radeon RX 550 Series
1477300, C1, AMD FirePro (TM) S9300 x2
1487300, C8, AMD Radeon (TM) R9 Fury Series
1497300, C9, Radeon (TM) Pro Duo
1507300, CB, AMD Radeon (TM) R9 Fury Series
1517300, CA, AMD Radeon (TM) R9 Fury Series
1529874, C4, AMD Radeon R7 Graphics
1539874, C5, AMD Radeon R6 Graphics
1549874, C6, AMD Radeon R6 Graphics
1559874, C7, AMD Radeon R5 Graphics
1569874, 81, AMD Radeon R6 Graphics
1579874, 87, AMD Radeon R5 Graphics
1589874, 85, AMD Radeon R6 Graphics
1599874, 84, AMD Radeon R7 Graphics