]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba1dc0a229981d8ece97540b4fa213f9d3f77247
treeddbc93a86ea5daf2475603b43e32377457951766
parent65bd10b38518aab1327bb2ddd5f58fb3abdad4d1
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