diff --git a/src/add-ons/accelerants/intel_extreme/Ports.cpp b/src/add-ons/accelerants/intel_extreme/Ports.cpp index eeae37fef8..a914e7460a 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.cpp +++ b/src/add-ons/accelerants/intel_extreme/Ports.cpp @@ -362,6 +362,17 @@ LVDSPort::LVDSPort() } +pipe_index +LVDSPort::PipePreference() +{ + // LVDS always pipe b on < gen4 + if (gInfo->shared_info->device_type.Generation() < 4) + return INTEL_PIPE_B; + + return INTEL_PIPE_ANY; +} + + bool LVDSPort::IsConnected() { diff --git a/src/add-ons/accelerants/intel_extreme/Ports.h b/src/add-ons/accelerants/intel_extreme/Ports.h index 3895682e90..b42b0e4fd2 100644 --- a/src/add-ons/accelerants/intel_extreme/Ports.h +++ b/src/add-ons/accelerants/intel_extreme/Ports.h @@ -128,8 +128,7 @@ virtual bool IsConnected(); virtual status_t SetDisplayMode(display_mode* mode, uint32 colorMode); -virtual pipe_index PipePreference() - { return INTEL_PIPE_B; }; +virtual pipe_index PipePreference(); protected: virtual addr_t _DDCRegister();