OpenCloudOS-Kernel/drivers/gpu/drm/bridge/analogix
Pi-Hsun Shih f03ab6629c
drm/bridge: anx7625: Make hpd workqueue freezable
There were still a race condition between hpd work and suspend, since
the workqueue work can still be run after anx7625 had powered off in
suspend.

Since we never want hpd work to run while suspending, and there's no
harm to delay them to be run after resume, mark the workqueue as
WQ_FREEZABLE so all works won't run while suspending.

Fixes: 409776fa3c ("drm/bridge: anx7625: add suspend / resume hooks")

Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210615032937.2328468-1-pihsun@chromium.org
2021-06-18 14:23:15 +02:00
..
Kconfig drm: bridge: add missing word in Analogix help text 2021-04-28 17:30:39 +02:00
Makefile drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP 2020-10-16 23:35:16 +02:00
analogix-anx78xx.c drm/dp: Add backpointer to drm_device in drm_dp_aux 2021-04-27 18:43:42 -04:00
analogix-anx78xx.h drm/bridge: split some definitions of ANX78xx to dedicated headers 2019-11-08 10:27:32 +01:00
analogix-anx6345.c drm/dp: Add backpointer to drm_device in drm_dp_aux 2021-04-27 18:43:42 -04:00
analogix-i2c-dptx.c drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
analogix-i2c-dptx.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
analogix-i2c-txcommon.h drm/bridge: Prepare Analogix anx6345 support 2019-11-08 10:27:53 +01:00
analogix_dp_core.c drm/dp: Add backpointer to drm_device in drm_dp_aux 2021-04-27 18:43:42 -04:00
analogix_dp_core.h drm/rockchip: Use the helpers for PSR 2019-07-26 14:48:03 -04:00
analogix_dp_reg.c gpu: drm: bridge: analogix: analogix_dp_reg: Remove unused function 'analogix_dp_write_byte_to_dpcd' 2020-11-05 22:18:44 +01:00
analogix_dp_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
anx7625.c drm/bridge: anx7625: Make hpd workqueue freezable 2021-06-18 14:23:15 +02:00
anx7625.h drm/bridge: anx7625: refactor power control to use runtime PM framework 2021-05-18 14:51:14 +02:00