]> 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)
commitce6b20be1a2fca458a5019144feba99c334eab69
tree71cace7a2372a07d7294f4b7dfdb105b6f92a847
parentc1a339c381f4c2b5a4438e97498e32ff7707dc41
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