commit | 02e93c3537d5b496bbf4d6a97c0d02becc501b5c | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Aug 26 19:39:19 2015 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Sep 01 12:02:33 2015 +0200 |
tree | 8d3e7481bc19cfee6967096041fe9682008fa475 | |
parent | 0f64614dde172e4f4b2734a55091a4d307863cbb [diff] |
drm/i915: Factor out intel_crtc_has_encoders() Make the code mode readable by pulling the "does this crtc have any encoders?" deduction into a separate function. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>