summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPi-Hsun Shih <pihsun@chromium.org>2021-06-15 06:29:24 +0300
committerRobert Foss <robert.foss@linaro.org>2021-06-18 15:23:15 +0300
commitf03ab6629c7b410d874151cf1d8570899a65fdda (patch)
tree2cb33594df7ce86d9fc10fef050be4dad3485487 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent51f52547df700819db0d0e2b17b677cb209212b4 (diff)
downloadlinux-f03ab6629c7b410d874151cf1d8570899a65fdda.tar.xz
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: 409776fa3c42 ("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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions