Rework EVGAPascalGPUController to use I2C PCI detector and store name in controller to avoid setting it in detector

This commit is contained in:
Adam Honse committed 2025-08-07 23:03:53 -05:00
1 parent c32663bb32
commit df75659778
5 files changed
+55 -82

No files matched your search

@@ -37,10 +37,11 @@ enum
class EVGAGPUv1Controller
{
public:
EVGAGPUv1Controller(i2c_smbus_interface* bus, evga_dev_id dev);
EVGAGPUv1Controller(i2c_smbus_interface* bus, evga_dev_id dev, std::string dev_name);
~EVGAGPUv1Controller();
std::string GetDeviceLocation();
std::string GetDeviceName();
unsigned char GetMode();
unsigned char GetRed();
@@ -54,4 +55,5 @@ public:
private:
i2c_smbus_interface* bus;
evga_dev_id dev;
std::string name;
};