commit | 6e2cc0963a962aad91184eaabcf67a106e80e815 | [log] [tgz] |
---|---|---|
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | Mon Oct 20 13:46:42 2014 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Oct 24 16:34:04 2014 +0200 |
tree | a6ccc1974fca4044f0ed02368def907eaf4cb1f5 | |
parent | 343673818098b80e5adca6a93d4e112d907cd293 [diff] |
drm/i915: Replace some loop through encoders with intel_pipe_has_type() In the ironlake mode set code, there was two instances of a loop through encoders to find out if one of them has INTEL_OUTPUT_LVDS type. Simplify the code by deleting some lines and use intel_pipe_has_type() instead. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>