]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/bridge: ps8640: Use constant sleep time for polling hpd
authorPin-yen Lin <treapking@chromium.org>
Fri, 31 Mar 2023 03:02:04 +0000 (11:02 +0800)
committerRobert Foss <rfoss@kernel.org>
Wed, 5 Apr 2023 12:42:12 +0000 (14:42 +0200)
commit4224011374d1b4228a59b73149320c61eeb700b3
tree25838131af2c071972a74abe227ebad7b2b1075e
parentca161b259cc84fe1f4a2ce4c73c3832cf6f713f1
drm/bridge: ps8640: Use constant sleep time for polling hpd

The default hpd_wait_us in panel_edp.c is 2 seconds. This makes the
sleep time in the polling of _ps8640_wait_hpd_asserted become 200ms.
Change it to a constant 20ms to speed up the function.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230331030204.1179524-1-treapking@chromium.org
drivers/gpu/drm/bridge/parade-ps8640.c