]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit91069d5e21452acae61f2467f3df269ad99b42d1
tree81c1a0f0be1cf7e53aba94aff10e5cc116f7e460
parent26b6df841e33e7294be1108fdba3aab16243dea9
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