Searched hist:acd45c56790a3b558b0b0081678a20b0a0d89b0f (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/udl/ |
H A D | udl_main.c | diff acd45c56790a3b558b0b0081678a20b0a0d89b0f Thu Aug 04 02:58:23 CDT 2022 Takashi Iwai <tiwai@suse.de> 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
|
H A D | udl_drv.h | diff acd45c56790a3b558b0b0081678a20b0a0d89b0f Thu Aug 04 02:58:23 CDT 2022 Takashi Iwai <tiwai@suse.de> 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
|