]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Factor out intel_crtc_has_encoders()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 26 Aug 2015 16:39:19 +0000 (19:39 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Sep 2015 10:02:33 +0000 (12:02 +0200)
commit02e93c3537d5b496bbf4d6a97c0d02becc501b5c
tree8d3e7481bc19cfee6967096041fe9682008fa475
parent0f64614dde172e4f4b2734a55091a4d307863cbb
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>
drivers/gpu/drm/i915/intel_display.c