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:48:04 -05:00
parent c1d3db8d64
commit 17ecf642b5
2 changed files with 12 additions and 2 deletions

View File

@ -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()
{

View File

@ -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();