Skip to content

Commit ea798a7

Browse files
committed
Implement i2c bus check for Asus Aura GPUs
1 parent 3608caf commit ea798a7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Controllers/AsusAuraGPUController/AsusAuraGPUControllerDetect.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "AsusAuraGPUController.h"
1414
#include "LogManager.h"
1515
#include "RGBController_AsusAuraGPU.h"
16+
#include "i2c_amd_gpu.h"
1617
#include "i2c_smbus.h"
1718
#include "pci_ids.h"
1819

@@ -28,6 +29,11 @@
2829

2930
bool TestForAsusAuraGPUController(i2c_smbus_interface* bus, unsigned char address)
3031
{
32+
if(bus->pci_vendor == AMD_GPU_VEN && !is_amd_gpu_i2c_bus(bus))
33+
{
34+
return false;
35+
}
36+
3137
bool pass = false;
3238

3339
unsigned char aura_gpu_magic_high = bus->i2c_smbus_read_byte_data(address, 0x20); // High Byte of magic (0x15)

0 commit comments

Comments
 (0)