|
|
|
|
@ -10,6 +10,7 @@
|
|
|
|
|
#include "Detector.h"
|
|
|
|
|
#include "MSIGPUController.h"
|
|
|
|
|
#include "RGBController_MSIGPU.h"
|
|
|
|
|
#include "i2c_amd_gpu.h"
|
|
|
|
|
#include "i2c_smbus.h"
|
|
|
|
|
#include "pci_ids.h"
|
|
|
|
|
|
|
|
|
|
@ -27,6 +28,10 @@ void DetectMSIGPUControllers(i2c_smbus_interface* bus, uint8_t i2c_addr, const s
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if(bus->pci_vendor == AMD_GPU_VEN && !is_amd_gpu_i2c_bus(bus))
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MSIGPUController* controller = new MSIGPUController(bus, i2c_addr, name);
|
|
|
|
|
RGBController_MSIGPU* rgb_controller = new RGBController_MSIGPU(controller);
|
|
|
|
|
|