drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers
authorThierry Reding <treding@nvidia.com>
Tue, 22 Oct 2019 14:52:11 +0000 (16:52 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Oct 2019 16:18:48 +0000 (18:18 +0200)
commitff1e8fb68ea06027ede23ea1e6f23f1b280aafa9
tree748f7bb337aaccbef16d4c80e44c9df3bfdf2d6f
parent79465e0ffeb9e4866939ea562bc55367be91e595
drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers

During the discussion of patches that enhance the drm_dp_link helpers it
was concluded that these helpers aren't very useful to begin with. Start
pushing the equivalent code into individual drivers to ultimately remove
them.

v4: use bulk DPCD writes if possible (Daniel Vetter)

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20191022145211.2258525-1-thierry.reding@gmail.com
drivers/gpu/drm/bridge/analogix-anx78xx.c