drm/i915/dp: move TPS3 logic to where it's used
authorJani Nikula <jani.nikula@intel.com>
Thu, 3 Sep 2015 08:16:07 +0000 (11:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 4 Sep 2015 08:14:06 +0000 (10:14 +0200)
commitbc5133d595a0ddfaaa5edb4b077f44d92cc8fb0d
tree81c1a0f0be1cf7e53aba94aff10e5cc116f7e460
parent1c132b44f0eabaaf801e79a3e4b98770431a4274
drm/i915/dp: move TPS3 logic to where it's used

There is no need to have a separate flag for tps3 as the information is
only used at one location. Move the logic there to make it easier to
follow.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h