drm/i915/dp: use new link training delay helpers
authorJani Nikula <jani.nikula@intel.com>
Thu, 14 Oct 2021 15:00:59 +0000 (18:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 19 Oct 2021 15:35:15 +0000 (18:35 +0300)
commitb7d5abda8e64fb9cbbd219e667ccb34e4761ce2f
tree24466de915b822e2ec2526d2dd6ba23455f33b28
parentbabc8db30132ba59cecca9587e73104741f0be6d
drm/i915/dp: use new link training delay helpers

Use the new link training delay helpers, fixing the delays for
128b/132b.

For existing 8b/10b functionality, this will cause additional 1-byte
DPCD reads for LTTPR delays instead of using the cached values. It's
just too complicated to combine generic helpers with local caching in a
sensible way.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014150059.28957-3-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp_link_training.c