summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-04-11 22:38:47 +0200
committerJeroen Roovers <jer@gentoo.org>2018-04-11 22:39:11 +0200
commitaefe3582c38f7672fe21c54cc8a1d1c488f102ae (patch)
treee9f8468cf35c7709fd4e7078430501d0f0b25ba1 /eclass/nvidia-driver.eclass
parentapp-crypt/nitrokey-app: [QA] Fix missing deps and gnome2_icon_cache_update (diff)
downloadgentoo-aefe3582c38f7672fe21c54cc8a1d1c488f102ae.tar.gz
gentoo-aefe3582c38f7672fe21c54cc8a1d1c488f102ae.tar.bz2
gentoo-aefe3582c38f7672fe21c54cc8a1d1c488f102ae.zip
nvidia-driver.eclass: Add new long time support branch.
Diffstat (limited to 'eclass/nvidia-driver.eclass')
-rw-r--r--eclass/nvidia-driver.eclass38
1 files changed, 37 insertions, 1 deletions
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass
index 438e23fdf31..c5dc0c89f25 100644
--- a/eclass/nvidia-driver.eclass
+++ b/eclass/nvidia-driver.eclass
@@ -34,7 +34,7 @@ output of nvidia-bug-report.sh included.
"
# the data below is derived from
-# http://us.download.nvidia.com/XFree86/Linux-x86_64/319.12/README/supportedchips.html
+# http://us.download.nvidia.com/XFree86/Linux-x86_64/390.48/README/supportedchips.html
drv_71xx="
0020 0028 0029 002c 002d 00a0 0100 0101 0103 0150 0151 0152 0153
@@ -86,11 +86,40 @@ drv_340x="
0caf 0cb0 0cb1 0cbc 10c0 10c3 10c5 10d8
"
+drv_390x="
+ 06c0 06c4 06ca 06cd 06d1 06d2 06d8 06d9 06da 06dc 06dd 06de 06df 0dc0 0dc4
+ 0dc5 0dc6 0dcd 0dce 0dd1 0dd2 0dd3 0dd6 0dd8 0dda 0de0 0de1 0de2 0de3 0de4
+ 0de5 0de7 0de8 0de9 0dea 0deb 0dec 0ded 0dee 0def 0df0 0df1 0df2 0df3 0df4
+ 0df5 0df6 0df7 0df8 0df9 0dfa 0dfc 0e22 0e23 0e24 0e30 0e31 0e3a 0e3b 0f00
+ 0f01 0f02 0f03 0fc0 0fc1 0fc2 0fc6 0fc8 0fc9 0fcd 0fce 0fd1 0fd2 0fd3 0fd4
+ 0fd5 0fd8 0fd9 0fdf 0fe0 0fe1 0fe2 0fe3 0fe4 0fe9 0fea 0fec 0fed 0fee 0ff3
+ 0ff6 0ff8 0ff9 0ffa 0ffb 0ffc 0ffd 0ffe 0fff 1001 1004 1005 1007 1008 100a
+ 100c 1021 1022 1023 1024 1026 1027 1028 1029 102a 102d 103a 103c 1040 1042
+ 1048 1049 104a 104b 104c 1050 1051 1052 1054 1055 1056 1057 1058 1059 105a
+ 105b 107c 107d 1080 1081 1082 1084 1086 1087 1088 1089 108b 1091 1094 1096
+ 109a 109b 1140 1180 1183 1184 1185 1187 1188 1189 118a 118e 118f 1193 1194
+ 1195 1198 1199 119a 119d 119e 119f 11a0 11a1 11a2 11a3 11a7 11b4 11b6 11b7
+ 11b8 11ba 11bc 11bd 11be 11c0 11c2 11c3 11c4 11c5 11c6 11c8 11cb 11e0 11e1
+ 11e2 11e3 11fa 11fc 1200 1201 1203 1205 1206 1207 1208 1210 1211 1212 1213
+ 1241 1243 1244 1245 1246 1247 1248 1249 124b 124d 1251 1280 1281 1282 1284
+ 1286 1287 1288 1289 128b 1290 1291 1292 1293 1295 1296 1298 1299 129a 12b9
+ 12ba 1340 1341 1344 1346 1347 1348 1349 134b 134d 134e 134f 137a 137b 137d
+ 1380 1381 1382 1390 1391 1392 1393 1398 1399 139a 139b 139c 139d 13b0 13b1
+ 13b2 13b3 13b4 13b6 13b9 13ba 13bb 13bc 13c0 13c2 13d7 13d8 13d9 13da 13f0
+ 13f1 13f2 13f3 13f8 13f9 13fa 13fb 1401 1402 1406 1407 1427 1430 1431 1436
+ 15f0 15f7 15f8 15f9 1617 1618 1619 161a 1667 174d 174e 179c 17c2 17c8 17f0
+ 17f1 17fd 1b00 1b02 1b06 1b30 1b38 1b80 1b81 1b82 1b84 1b87 1ba0 1ba1 1bb0
+ 1bb1 1bb3 1bb4 1bb5 1bb6 1bb7 1bb8 1bc7 1be0 1be1 1c02 1c03 1c04 1c06 1c07
+ 1c09 1c20 1c21 1c22 1c30 1c60 1c61 1c62 1c81 1c82 1c8c 1c8d 1cb1 1cb2 1cb3
+ 1cb6 1d01 1d10 1d12 1d33 1d81 1db1 1db4 1db5 1db6 1db7 1dba
+"
+
mask_71xx=">=x11-drivers/nvidia-drivers-72.0.0"
mask_96xx=">=x11-drivers/nvidia-drivers-97.0.0"
mask_173x=">=x11-drivers/nvidia-drivers-177.0.0"
mask_304x=">=x11-drivers/nvidia-drivers-305.0.0"
mask_340x=">=x11-drivers/nvidia-drivers-341.0.0"
+mask_390x=">=x11-drivers/nvidia-drivers-391.0.0"
# @FUNCTION: nvidia-driver-get-card
# @DESCRIPTION:
@@ -147,6 +176,13 @@ nvidia-driver-get-mask() {
return 0
fi
done
+
+ for drv in ${drv_390x}; do
+ if [ "x${card}" = "x${drv}" ]; then
+ echo "${mask_390x}"
+ return 0
+ fi
+ done
done
echo ''