commit | 3d6e9ee0e125548c94417368ba53334445939bfd | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Jun 22 21:57:03 2016 +0300 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Thu Jul 07 13:09:54 2016 +0300 |
tree | ddbc93a86ea5daf2475603b43e32377457951766 | |
parent | 2d84d2b367541fa59855e9df20b1f077d72a6fd2 [diff] |
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