[Intel-gfx] [PATCH 3/5] drm/i915: digital_port_connected sort platforms newer-to-older

2018-10-22 Thread Rodrigo Vivi
Just sorting this "if" block from newer to older platform. The main difference here is the addition of a missing case with return false that should never occur. And if it occurs it is better than to raise a warn than use the icl one. The gen >= 11 was already present in the previous logic,

Re: [Intel-gfx] [PATCH 3/5] drm/i915: digital_port_connected sort platforms newer-to-older

2018-10-19 Thread Ville Syrjälä
On Fri, Oct 19, 2018 at 12:03:33PM -0700, Rodrigo Vivi wrote: > Just sorting this "if" block from newer to older platform. > > The main difference here is the addition of a > missing case with return false that should never occur. > And if it occurs it is better than to raise a warn > than use

[Intel-gfx] [PATCH 3/5] drm/i915: digital_port_connected sort platforms newer-to-older

2018-10-19 Thread Rodrigo Vivi
Just sorting this "if" block from newer to older platform. The main difference here is the addition of a missing case with return false that should never occur. And if it occurs it is better than to raise a warn than use the icl one. The gen >= 11 was already present in the previous logic,