diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-08-04 09:58:23 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-08-10 10:06:20 +0200 |
commit | acd45c56790a3b558b0b0081678a20b0a0d89b0f (patch) | |
tree | 8a9a3c72e96d8f932c7fe3d0b72383eafa518323 /drivers/gpu/drm/scheduler | |
parent | 504a51d70f86e3b989ca8834691bbac4033b6f48 (diff) |
drm/udl: Replace semaphore with a simple wait queue
UDL driver uses a semaphore for controlling the emptiness of FIFO in a
slightly funky way. This patch replaces it with a wait queue and
controls the emptiness with the standard wait_event*() macro instead,
which is a more straightforward implementation.
While we are at it, drop the dead code for delayed semaphore down,
too.
Tested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220804075826.27036-2-tiwai@suse.de
Diffstat (limited to 'drivers/gpu/drm/scheduler')
0 files changed, 0 insertions, 0 deletions