|
@@ -418,11 +418,7 @@ void IntelNativeDisplayConnector::gmbus_read_edid()
|
|
|
{
|
|
|
SpinlockLocker control_lock(m_control_lock);
|
|
|
gmbus_write(DDC2_I2C_ADDRESS, 0);
|
|
|
- gmbus_read(DDC2_I2C_ADDRESS, (u8*)&crt_edid_bytes, sizeof(crt_edid_bytes));
|
|
|
- // FIXME: It seems like the returned EDID is almost correct,
|
|
|
- // but the first byte is set to 0xD0 instead of 0x00.
|
|
|
- // For now, this "hack" works well enough.
|
|
|
- crt_edid_bytes[0] = 0x0;
|
|
|
+ gmbus_read(DDC2_I2C_ADDRESS, crt_edid_bytes.data(), crt_edid_bytes.size());
|
|
|
}
|
|
|
set_edid_bytes(crt_edid_bytes);
|
|
|
}
|