Re: [Intel-gfx] [PATCH v2] drm/i915: Standardize port type for DVO encoders

2016-09-14 Thread Pandiyan, Dhinakaran
This version of the patch has been included in the series "Prep. for DP audio MST support" since the helper is used by the patch that stores port in struct intel_encoder. On Wed, 2016-09-14 at 14:03 -0700, Dhinakaran Pandiyan wrote: > Changing the return type from 'char' to 'enum port' in >

[Intel-gfx] [PATCH v2] drm/i915: Standardize port type for DVO encoders

2016-09-14 Thread Dhinakaran Pandiyan
Changing the return type from 'char' to 'enum port' in intel_dvo_port_name() makes it easier to later move the port information to intel_encoder. In addition, the port type conforms to what we have elsewhere. Removing the last conditional that handles invalid port because dvo_reg is intialized to