]> asedeno.scripts.mit.edu Git - linux.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)
commit79465e0ffeb9e4866939ea562bc55367be91e595
tree84e20609ed7493c27832f228c01cc016c352243f
parentfc6b42045e51a8e2793751e03daa39dc99c25983
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