drm/panel-edp: Take advantage of wait_hpd_asserted() in struct drm_dp_aux
authorDouglas Anderson <dianders@chromium.org>
Tue, 14 Jun 2022 21:54:16 +0000 (14:54 -0700)
committerDouglas Anderson <dianders@chromium.org>
Tue, 21 Jun 2022 16:04:11 +0000 (09:04 -0700)
commit2327b13d6c4758926e57b5b6c3094302ae3b5e9b
tree71cace7a2372a07d7294f4b7dfdb105b6f92a847
parent841d742f094e00e514627bde65d7822e98fb3e4c
drm/panel-edp: Take advantage of wait_hpd_asserted() in struct drm_dp_aux

Let's add support for being able to read the HPD pin even if it's
hooked directly to the controller. This will allow us to get more
accurate delays also lets us take away the waiting in the AUX transfer
functions of the eDP controller drivers.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220614145327.v4.2.Icea616f57331fbaa3d48c529f300c9a8ebd37fb5@changeid
drivers/gpu/drm/panel/panel-edp.c