Re: [Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-22 Thread Imre Deak
On Thu, 2016-12-22 at 11:12 +0200, David Weinehall wrote: > On Wed, Dec 21, 2016 at 12:17:24PM +0200, Imre Deak wrote: > > There is at least one APL based system using port A in DP mode > > (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A > > unconditionally as eDP which is i

Re: [Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-22 Thread David Weinehall
On Wed, Dec 21, 2016 at 12:17:24PM +0200, Imre Deak wrote: > There is at least one APL based system using port A in DP mode > (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A > unconditionally as eDP which is incorrect in this case. Fix this by > relying on the VBT DDI port '

Re: [Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-21 Thread Jani Nikula
On Wed, 21 Dec 2016, Imre Deak wrote: > On Wed, 2016-12-21 at 13:21 +0200, Jani Nikula wrote: >> On Wed, 21 Dec 2016, Imre Deak wrote: >> > There is at least one APL based system using port A in DP mode >> > (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A >> > unconditiona

Re: [Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-21 Thread Imre Deak
On Wed, 2016-12-21 at 13:21 +0200, Jani Nikula wrote: > On Wed, 21 Dec 2016, Imre Deak wrote: > > There is at least one APL based system using port A in DP mode > > (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A > > unconditionally as eDP which is incorrect in this case. F

Re: [Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-21 Thread Jani Nikula
On Wed, 21 Dec 2016, Imre Deak wrote: > There is at least one APL based system using port A in DP mode > (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A > unconditionally as eDP which is incorrect in this case. Fix this by > relying on the VBT DDI port 'internal port' flag

[Intel-gfx] [PATCH v2] drm/i915/ddi: Rely on VBT DDI port info for eDP detection

2016-12-21 Thread Imre Deak
There is at least one APL based system using port A in DP mode (connecting to an on-board DP->VGA adaptor). Atm we'll configure port A unconditionally as eDP which is incorrect in this case. Fix this by relying on the VBT DDI port 'internal port' flag instead on all ports on DDI platforms. For now