Add logging for ADL GPU device ID's
This commit is contained in:
parent
7f6599658d
commit
c4d11993b6
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
\*-----------------------------------------*/
|
||||
|
||||
#include "i2c_smbus_amdadl.h"
|
||||
#include "LogManager.h"
|
||||
#include <string>
|
||||
|
||||
typedef int ( *ADL2_MAIN_CONTROL_CREATE )(ADL_MAIN_MALLOC_CALLBACK, int, ADL_CONTEXT_HANDLE*);
|
||||
|
|
@ -228,6 +229,7 @@ bool i2c_smbus_amdadl_detect()
|
|||
else
|
||||
{
|
||||
i2c_smbus_amdadl * adl_bus = new i2c_smbus_amdadl(context);
|
||||
LOG_INFO("ADL GPU Device %04X:%04X Subsystem: %04X:%04X", adl_bus->pci_vendor, adl_bus->pci_device,adl_bus->pci_subsystem_vendor,adl_bus->pci_subsystem_device);
|
||||
ResourceManager::get()->RegisterI2CBus(adl_bus);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue