diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp b/src/add-ons/accelerants/intel_extreme/Ports.cpp index 01e6ab3af7..289a97f574 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.cpp +++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp @@ -526,9 +526,11 @@ LVDSPort::SetDisplayMode(display_mode* target, uint32 colorMode) // Set LVDS sync polarity lvds &= ~(LVDS_HSYNC_POLARITY | LVDS_VSYNC_POLARITY); - if ((target->timing.flags & B_POSITIVE_HSYNC) != 0) + + // set on - polarity. + if ((target->timing.flags & B_POSITIVE_HSYNC) == 0) lvds |= LVDS_HSYNC_POLARITY; - if ((target->timing.flags & B_POSITIVE_VSYNC) != 0) + if ((target->timing.flags & B_POSITIVE_VSYNC) == 0) lvds |= LVDS_VSYNC_POLARITY; write32(_PortRegister(), lvds);