]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dp: Add helper to get post-cursor adjustments
authorThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2019 14:34:31 +0000 (16:34 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Oct 2019 16:18:48 +0000 (18:18 +0200)
commitf2e53caee3401928302e6989f2d67b550081817b
tree84e20609ed7493c27832f228c01cc016c352243f
parentdc578c2785d72a592ff57315bbe46a33af1d185b
drm/dp: Add helper to get post-cursor adjustments

If the transmitter supports pre-emphasis post cursor2 the sink will
request adjustments in a similar way to how it requests adjustments to
the voltage swing and pre-emphasis settings.

Add a helper to extract these adjustments on a per-lane basis from the
DPCD link status.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191021143437.1477719-8-thierry.reding@gmail.com
drivers/gpu/drm/drm_dp_helper.c
include/drm/drm_dp_helper.h