]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6de67e732979ae5c173c64b0783e31310d0e6209
tree71cace7a2372a07d7294f4b7dfdb105b6f92a847
parent700e6ee312afbb154934be243bb90dd9db959c50
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