drm/i915/dp: abstract link config selection
authorJani Nikula <jani.nikula@intel.com>
Thu, 26 Apr 2018 08:25:29 +0000 (11:25 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 26 Apr 2018 15:21:23 +0000 (18:21 +0300)
commit3acd115d08f70615debd5a8d37a8b97dc17a9cbb
tree4c06e5d2c3c8da4661f31f5406a383b36238161b
parent7c2781e41ec8893ad9ef62f28821e2dbd4bd0420
drm/i915/dp: abstract link config selection

For now, there's just the one link config selection, optimizing for slow
and wide link. No functional changes.

Keep the debug logging in the caller, to avoid duplication later on if
alternative link confing selection gets added.

v2: Improved commit message

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/64848b76bf90d6ceecd7ec6b5add28531e0b1a41.1524730974.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c