drm/bridge: tc358767: Avoid drm_dp_link helpers
authorThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2019 14:34:33 +0000 (16:34 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Oct 2019 16:19:41 +0000 (18:19 +0200)
commite7dc8d40eea400dbe673ed4b78680c058f111ae9
tree956737db94814aec4cf335f78bf1f647565dfc90
parentff1e8fb68ea06027ede23ea1e6f23f1b280aafa9
drm/bridge: tc358767: 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.

v3: make link rate unsigned int to avoid overflow

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