Fixed 1080Ti FTW3 backplate

This commit is contained in:
YaketyYakumo 2023-08-30 01:18:33 +00:00 committed by Adam Honse
parent de0437e164
commit 962d2e8449
2 changed files with 11 additions and 4 deletions

View file

@ -62,8 +62,8 @@ bool EVGAGP102Controller::IsValid()
{
for (int i = 0; i < 3; i++)
{
char res = bus->i2c_smbus_read_byte_data(zi.dev_addr, EVGA_GP102_REG_VALID);
if (res == 0x1F)
unsigned char res = bus->i2c_smbus_read_byte_data(zi.dev_addr, EVGA_GP102_REG_VALID);
if (res == 0x1F || res == 0x91)
{
LOG_TRACE("[%s] Zone discovery successful on address: 0x%02X.", EVGA_GP102_CONTROLLER_NAME, zi.dev_addr);
return true;

View file

@ -63,12 +63,19 @@ const static zoneinfo gpuzoneinfos[]
0x00
},
{
"Backplate",
"Backplate", // for 1080Ti K|NGP|N
0x2A,
{0x30, 0x31, 0x32},
0xE9,
0xE0
}
},
{
"Backplate", // for 1080Ti FTW3
0x4F,
{0x30, 0x31, 0x32},
0x03,
0x00
},
};
class EVGAGP102Controller