Remove local hack in intel_atomic_commit_fence_wait().
authorclaudio <claudio@openbsd.org>
Fri, 28 Jul 2023 09:41:43 +0000 (09:41 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 28 Jul 2023 09:41:43 +0000 (09:41 +0000)
commita828e0888aca5769bcd2cc91d3a6f9b8585b3862
tree5180b68315db89e8cb599979d6ec9a62ab58795a
parent07665ab5c36e1039723517b8539c09be5ad6dc59
Remove local hack in intel_atomic_commit_fence_wait().
This functions registers the proc on two wait_queues so either one
can wakeup the proc. Until lately this was not possible because a
mutex was held when setting up the wait state. Since the rework of
the sleep API and the cleanup of the linux wait.h implementation this
is no longer the case.
Tested by various people with different inteldrm versions.
OK kettenis@ jsg@
sys/dev/pci/drm/i915/display/intel_display.c