DDC: Redo extended device probe slightly.
We'll now only mention the E-EDID segment register if the device is actually E-EDID-capable. While we're here, check for DDC/CI and standard EEPROM support too.
This commit is contained in:
parent
b030f858f2
commit
8c6b4a8276
|
@ -138,8 +138,13 @@ DDC2Init(int scrnIndex, I2CBusPtr pBus)
|
||||||
*/
|
*/
|
||||||
pBus->RiseFallTime = 20;
|
pBus->RiseFallTime = 20;
|
||||||
|
|
||||||
DDC2MakeDevice(pBus, 0x0060, "E-EDID segment register");
|
|
||||||
dev = DDC2MakeDevice(pBus, 0x00A0, "ddc2");
|
dev = DDC2MakeDevice(pBus, 0x00A0, "ddc2");
|
||||||
|
if (xf86I2CProbeAddress(pBus, 0x0060))
|
||||||
|
DDC2MakeDevice(pBus, 0x0060, "E-EDID segment register");
|
||||||
|
if (xf86I2CProbeAddress(pBus, 0x0062))
|
||||||
|
DDC2MakeDevice(pBus, 0x0062, "EDID EEPROM interface");
|
||||||
|
if (xf86I2CProbeAddress(pBus, 0x006E))
|
||||||
|
DDC2MakeDevice(pBus, 0x006E, "DDC control interface");
|
||||||
|
|
||||||
return dev;
|
return dev;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue