drm/i915: Replace manual lvds and sdvo/hdmi counting with intel_crtc_has_type()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jun 2016 18:57:03 +0000 (21:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Jul 2016 10:09:54 +0000 (13:09 +0300)
commit3d6e9ee0e125548c94417368ba53334445939bfd
treeddbc93a86ea5daf2475603b43e32377457951766
parent2d84d2b367541fa59855e9df20b1f077d72a6fd2
drm/i915: Replace manual lvds and sdvo/hdmi counting with intel_crtc_has_type()

Since we now have the output_types bitmaks in the crtc state, there's no
need to iterate through all the encoders to see if an LVDS or SDVO/HDMI
encoder might be present.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466621833-5054-6-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c