commit | dd75619853e4a28776130c78365aab8982abe6e1 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Feb 17 21:28:45 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Feb 18 15:23:24 2016 +0200 |
tree | 11e4637fcac3067130cf5dc5a71efbf239ad8a84 | |
parent | e28661bd1acbdcb6ae845b49a01aa765bfde19d4 [diff] |
drm/i915: Extract intel_encoder_has_connectors() 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ä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1455737325-14777-1-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>