Added support for many new cards

This commit is contained in:
KrutavShah 2021-04-11 12:35:04 -07:00
parent b39761de39
commit 9de7caf2b9
2 changed files with 6 additions and 1 deletions

View file

@ -107,6 +107,7 @@ script_source = r"""
// GM107
if(actual_devid == 0x139a || // GTX 950M
actual_devid == 0x13bc || // Quadro K1200
actual_devid == 0x13b6) { // Quadro M1200
spoofed_devid = 0x13f2; // Tesla M60
}

View file

@ -775,6 +775,7 @@ static uint16_t vgpu_unlock_pci_devid_to_vgpu_capable(uint16_t pci_devid)
/* GM107 Uses M60 profiles */
case 0x139a: /* GTX 950M */
case 0x13b6: /* Quadro M1200, GM107 */
case 0x13bc: /* Quadro K1200, GM107 */
/* GM204 */
case 0x13c3: /* GTX 960 GM204 OEM Edition */
@ -792,7 +793,10 @@ static uint16_t vgpu_unlock_pci_devid_to_vgpu_capable(uint16_t pci_devid)
case 0x1b30: /* Quadro P6000 */
return 0x1b38; /* Tesla P40 */
/* GP106 Uses P4 profiles*/
/* GP107 Uses P4 Profiles */
case 0x1cb1: /* NVIDIA Quadro P1000 GP107GL */
/* GP106 Uses P4 Profiles*/
case 0x1c09: /* P106-90 3GB */
case 0x1c07: /* P106-100 6GB */
case 0x1c04: /* GTX 1060 5GB */