drm/i915: Rewrite some some of the FDI lane checks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Mar 2015 16:52:30 +0000 (18:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:28 +0000 (22:30 +0100)
commit251cc67c7a28c216c9d4377ff5bf435c4248679e
tree2fb9bb225380333806523e65d4291b215a72ac1c
parent4c2a8897bc7662f0ab4148185cfb65153e4095b9
drm/i915: Rewrite some some of the FDI lane checks

The logic in the FDI lane checks is very hard for my poor brain to
grasp. Rewrite it in a more straightforward way.

Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c