]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Replace some loop through encoders with intel_pipe_has_type()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 20 Oct 2014 10:46:42 +0000 (13:46 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:04 +0000 (16:34 +0200)
commit3b4ec70457baaf3f3dd2d1c9a1747371124fc2cc
treea6ccc1974fca4044f0ed02368def907eaf4cb1f5
parent397d9b92e3e68e0c3d71e3e275501ec6cab3a0f3
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>
drivers/gpu/drm/i915/intel_display.c