intel_extreme: LVDS pipe only *has* to be B when gen < 4

This commit is contained in:
Alexander von Gluck IV
2016-07-11 21:49:00 -05:00
parent c1d3db8d64
commit 17ecf642b5
2 changed files with 12 additions and 2 deletions
@@ -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 bool
LVDSPort::IsConnected() LVDSPort::IsConnected()
{ {
@@ -128,8 +128,7 @@ virtual bool IsConnected();
virtual status_t SetDisplayMode(display_mode* mode, virtual status_t SetDisplayMode(display_mode* mode,
uint32 colorMode); uint32 colorMode);
virtual pipe_index PipePreference() virtual pipe_index PipePreference();
{ return INTEL_PIPE_B; };
protected: protected:
virtual addr_t _DDCRegister(); virtual addr_t _DDCRegister();