Refactoring of MSI GPU 40xx
This commit is contained in:
parent
5c5ee6509a
commit
e8f8d01447
4 changed files with 101 additions and 102 deletions
|
|
@ -71,6 +71,11 @@ void MSIGPUv2Controller::SetMode(unsigned char mode)
|
|||
MSIGPURegisterWrite(MSI_GPU_V2_REG_MODE, mode);
|
||||
}
|
||||
|
||||
void MSIGPUv2Controller::Save()
|
||||
{
|
||||
MSIGPURegisterWrite(MSI_GPU_V2_REG_SAVE, 0x00);
|
||||
}
|
||||
|
||||
unsigned char MSIGPUv2Controller::MSIGPURegisterRead(unsigned char reg)
|
||||
{
|
||||
return bus->i2c_smbus_read_byte_data(dev, reg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue