Re: [Intel-gfx] [PATCH] drm/i915: Extract intel_encoder_has_connectors()

2016-02-18 Thread Daniel Vetter
On Wed, Feb 17, 2016 at 09:28:45PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > We have an open coded loop which tries to see if the encoder has any > connectors linked to it. Let's extract that to a helper similar to > intel_crtc_has_encoders(). > > Signed-off-by: Ville

[Intel-gfx] [PATCH] drm/i915: Extract intel_encoder_has_connectors()

2016-02-17 Thread ville . syrjala
From: Ville Syrjälä We have an open coded loop which tries to see if the encoder has any connectors linked to it. Let's extract that to a helper similar to intel_crtc_has_encoders(). Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 22 -- 1 file chang