envytools: Support Turing TU117

TU117 is the engineering codename for the GPU dies shipping in the
GeForce GTX 1650.
This commit is contained in:
Rhys Kidd
2019-05-19 21:18:40 +10:00
parent f2c1c0c927
commit 8c771df377
4 changed files with 34 additions and 1 deletions

View File

@ -111,7 +111,7 @@ is:
- Maxwell family: GM107, GM108, GM200, GM204, GM206, GM20B - Maxwell family: GM107, GM108, GM200, GM204, GM206, GM20B
- Pascal family: GP100, GP102, GP104, GP106, GP107, GP108 - Pascal family: GP100, GP102, GP104, GP106, GP107, GP108
- Volta family: GV100 - Volta family: GV100
- Turing family: TU102, TU104, TU106, TU116 - Turing family: TU102, TU104, TU106, TU116, TU117
NV1 family: NV1 NV1 family: NV1
@ -335,6 +335,7 @@ pciid pciid pciid /GPC /GPC /GPC
1e8X# 10f8 1ad8 0x164 TU104 6 4 ? ? ? ? ? ? ? ? ? ? ? ? 20.09.2018 1e8X# 10f8 1ad8 0x164 TU104 6 4 ? ? ? ? ? ? ? ? ? ? ? ? 20.09.2018
1f0X# 10f9 1ada 0x166 TU106 3 6 ? ? ? ? ? ? ? ? ? ? ? ? 17.10.2018 1f0X# 10f9 1ada 0x166 TU106 3 6 ? ? ? ? ? ? ? ? ? ? ? ? 17.10.2018
218X# 1aeb \- 0x168 TU116 3 4 ? ? ? ? ? ? ? ? ? ? ? ? 22.02.2019 218X# 1aeb \- 0x168 TU116 3 4 ? ? ? ? ? ? ? ? ? ? ? ? 22.02.2019
1f8X# ???? \- 0x167 TU117 2 4 ? ? ? ? ? ? ? ? ? ? ? ? 23.04.2019
===== ===== ===== ===== ====== ==== ==== ===== === ====== ====== ===== ==== ==== ===== ====== === === === ========== ===== ===== ===== ===== ====== ==== ==== ===== === ====== ====== ===== ==== ==== ===== ====== === === === ==========
.. todo:: it is said that one of the GPCs [0th one] has only one TPC on GK106 .. todo:: it is said that one of the GPCs [0th one] has only one TPC on GK106
@ -349,6 +350,8 @@ pciid pciid pciid /GPC /GPC /GPC
.. todo:: another design counter available on GM107, another 4 on GP10x .. todo:: another design counter available on GM107, another 4 on GP10x
.. todo:: TU117 one of the GPCs has only three TPCs (so 7 in total, not 8)
Comparison table Comparison table
================ ================

View File

@ -180,6 +180,7 @@ device id product
``0x1e80-0x1eff`` :ref:`TU104 <pci-ids-tu104>` ``0x1e80-0x1eff`` :ref:`TU104 <pci-ids-tu104>`
``0x1f00-0x1f7f`` :ref:`TU106 <pci-ids-tu106>` ``0x1f00-0x1f7f`` :ref:`TU106 <pci-ids-tu106>`
``0x2180-0x21ff`` :ref:`TU116 <pci-ids-tu116>` ``0x2180-0x21ff`` :ref:`TU116 <pci-ids-tu116>`
``0x1f80-0x1fff`` :ref:`TU117 <pci-ids-tu117>`
================= ======================================================== ================= ========================================================
@ -1678,6 +1679,18 @@ device id product
``0x2184`` TU116 [GeForce GTX 1660] ``0x2184`` TU116 [GeForce GTX 1660]
========== ======================================================== ========== ========================================================
.. _pci-ids-tu117:
TU117
-----
========== ========================================================
device id product
========== ========================================================
``0x1f82`` TU117 [GeForce GTX 1650]
``0x1f91`` TU117 [GeForce GTX 1650 Mobile]
========== ========================================================
.. _pci-ids-gpu-hda: .. _pci-ids-gpu-hda:
@ -1717,6 +1730,7 @@ device id product
``0x10f8`` TU104 HDA ``0x10f8`` TU104 HDA
``0x10f9`` TU106 HDA ``0x10f9`` TU106 HDA
``0x1aeb`` TU116 HDA ``0x1aeb`` TU116 HDA
``0x????`` TU117 HDA
========== ======================================================== ========== ========================================================

View File

@ -338,6 +338,11 @@ int envy_bios_parse_bit_i (struct envy_bios *bios, struct envy_bios_bit_entry *b
bios->chipset = 0x168; bios->chipset = 0x168;
bios->chipset_name = "TU116"; bios->chipset_name = "TU116";
break; break;
/* TU117 */
case 0x9017:
bios->chipset = 0x167;
bios->chipset_name = "TU117";
break;
default: default:
ENVY_BIOS_ERR("Unknown chipset detected: %x\n", info->version[0] << 8 | info->version[1]); ENVY_BIOS_ERR("Unknown chipset detected: %x\n", info->version[0] << 8 | info->version[1]);
break; break;

View File

@ -1332,6 +1332,17 @@ class GpuTU116(GpuTU102):
bios_major = 0x90 bios_major = 0x90
bios_chip = 0x16 bios_chip = 0x16
class GpuTU117(GpuTU102):
id = 0x167
pciid = 0x1f80
#hda_pciid = 0x????
gpc_count = 2
# note: one of the GPCs has only three TPCs (so 7 in total, not 8)
tpc_count = 4
date = "23.04.2019"
bios_major = 0x90
bios_chip = 0x17
from ssot.cgen import CGenerator, CPartEnum, CPartStruct, StructName from ssot.cgen import CGenerator, CPartEnum, CPartStruct, StructName
from ssot.bus import cgen as cgen_bus from ssot.bus import cgen as cgen_bus