From e472bd06209ea1cff992f15d2af6e54ef3720594 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 27 Jan 2024 12:14:38 +1100 Subject: [PATCH] Adding PNY RTX4080 16GB Verto Epic-X GPU * Added 0x13BC to pci_ids.h * Registered detector in PNYLovelaceGPUControllerDetect.cpp * Link to [webpage](https://www.pny.com/en-eu/pny-geforce-rtx-4080-16gb-epic-x-argb-triple-fan-oc) * Resolves #3905 --- .../PNYLovelaceGPUControllerDetect.cpp | 23 +++++++++---------- pci_ids/pci_ids.h | 1 + 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Controllers/PNYLovelaceGPUController/PNYLovelaceGPUControllerDetect.cpp b/Controllers/PNYLovelaceGPUController/PNYLovelaceGPUControllerDetect.cpp index 11908db8..9b2e4e5c 100644 --- a/Controllers/PNYLovelaceGPUController/PNYLovelaceGPUControllerDetect.cpp +++ b/Controllers/PNYLovelaceGPUController/PNYLovelaceGPUControllerDetect.cpp @@ -9,16 +9,14 @@ #include #include -/******************************************************************************************\ - * * - * DetectPNYLovelaceGPUControllers * - * * - * Detect PNY 40xx GPU controllers on the enumerated I2C busses at address 0x60. * - * * - * bus - pointer to i2c_smbus_interface where PNY GPU device is connected * - * dev - I2C address of PNY GPU device * - * * -\******************************************************************************************/ +/*-----------------------------------------------------------------------------------------*\ +| DetectPNYLovelaceGPUControllers | +| | +| Detect PNY 40xx GPU controllers on the enumerated I2C busses at address 0x60. | +| | +| bus - pointer to i2c_smbus_interface where PNY GPU device is connected | +| dev - I2C address of PNY GPU device | +\*-----------------------------------------------------------------------------------------*/ void DetectPNYLovelaceGPUControllers(i2c_smbus_interface* bus, uint8_t i2c_addr, const std::string& name) { @@ -29,8 +27,8 @@ void DetectPNYLovelaceGPUControllers(i2c_smbus_interface* bus, uint8_t i2c_addr, PNYLovelaceGPUController* controller = new PNYLovelaceGPUController(bus, i2c_addr); RGBController_PNYLovelaceGPU* rgb_controller = new RGBController_PNYLovelaceGPU(controller); - rgb_controller->name = name; - rgb_controller->vendor = name.substr(0, name.find(' ')); + rgb_controller->name = name; + rgb_controller->vendor = name.substr(0, name.find(' ')); ResourceManager::get()->RegisterRGBController(rgb_controller); } /* DetectPNYLovelaceGPUControllers() */ @@ -42,6 +40,7 @@ REGISTER_I2C_PCI_DETECTOR("PNY 4070TI XLR8 VERTO OC", DetectPNYLovelaceGPU REGISTER_I2C_PCI_DETECTOR("PNY 4080 XLR8 UPRISING", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4080_DEV, PNY_SUB_VEN, PNY_RTX_4080_XLR8_UPRISING_SUB_DEV, 0x60); REGISTER_I2C_PCI_DETECTOR("PNY 4080 XLR8 VERTO", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4080_DEV, PNY_SUB_VEN, PNY_RTX_4080_XLR8_VERTO_SUB_DEV, 0x60); REGISTER_I2C_PCI_DETECTOR("PNY 4080 Super XLR8 VERTO", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4080S_DEV, PNY_SUB_VEN, PNY_RTX_4080S_XLR8_VERTO_SUB_DEV, 0x60); +REGISTER_I2C_PCI_DETECTOR("PNY 4080 XLR8 Verto Epic-X", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4080_DEV, PNY_SUB_VEN, PNY_RTX_4080_XLR8_VERTO_EPIC_X_SUB_DEV, 0x60); REGISTER_I2C_PCI_DETECTOR("PNY 4090 XLR8 VERTO", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, PNY_SUB_VEN, PNY_RTX_4090_XLR8_VERTO_SUB_DEV, 0x60); REGISTER_I2C_PCI_DETECTOR("PNY 4090 XLR8 Verto Epic-X", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, PNY_SUB_VEN, PNY_RTX_4090_VERTO_EPIC_X_SUB_DEV, 0x60); REGISTER_I2C_PCI_DETECTOR("PNY 4090 XLR8 Verto Epic-X OC", DetectPNYLovelaceGPUControllers, NVIDIA_VEN, NVIDIA_RTX4090_DEV, PNY_SUB_VEN, PNY_RTX_4090_VERTO_EPIC_X_OC_SUB_DEV, 0x60); diff --git a/pci_ids/pci_ids.h b/pci_ids/pci_ids.h index 533291ab..41b1236b 100644 --- a/pci_ids/pci_ids.h +++ b/pci_ids/pci_ids.h @@ -649,6 +649,7 @@ #define PNY_RTX_4080_XLR8_UPRISING_SUB_DEV 0x13C2 #define PNY_RTX_4080S_XLR8_VERTO_SUB_DEV 0x1418 #define PNY_RTX_4080_XLR8_VERTO_SUB_DEV 0x13BB +#define PNY_RTX_4080_XLR8_VERTO_EPIC_X_SUB_DEV 0x13BC #define PNY_RTX_4090_XLR8_VERTO_SUB_DEV 0x13AE #define PNY_RTX_4090_VERTO_EPIC_X_SUB_DEV 0x13D8 #define PNY_RTX_4090_VERTO_EPIC_X_OC_SUB_DEV 0x13D9