Re: [Intel-gfx] [PATCH v3 1/4] drm/i915: Store port enum in intel_encoder

2016-08-23 Thread Pandiyan, Dhinakaran
On Wed, 2016-08-24 at 08:08 +0200, Daniel Vetter wrote: > On Tue, Aug 23, 2016 at 01:49:17PM -0700, Dhinakaran Pandiyan wrote: > > Storing the port enum in intel_encoder makes it convenient to know the > > port attached to an encoder. Moving the port information up from > > intel_digital_port to in

Re: [Intel-gfx] [PATCH v3 1/4] drm/i915: Store port enum in intel_encoder

2016-08-23 Thread Daniel Vetter
On Tue, Aug 23, 2016 at 01:49:17PM -0700, Dhinakaran Pandiyan wrote: > Storing the port enum in intel_encoder makes it convenient to know the > port attached to an encoder. Moving the port information up from > intel_digital_port to intel_encoder avoids unecessary intel_digital_port > access and ha

[Intel-gfx] [PATCH v3 1/4] drm/i915: Store port enum in intel_encoder

2016-08-23 Thread Dhinakaran Pandiyan
Storing the port enum in intel_encoder makes it convenient to know the port attached to an encoder. Moving the port information up from intel_digital_port to intel_encoder avoids unecessary intel_digital_port access and handles MST encoders cleanly without requiring conditional checks for them (tha