drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event()
authorLyude Paul <lyude@redhat.com>
Mon, 20 Jul 2020 19:07:35 +0000 (15:07 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 21 Jul 2020 15:08:04 +0000 (11:08 -0400)
commit7f07c35fe63bc9563237436cb07bcc28f82a45b7
treef4543d131d63dcf6b62a41ba3215472bb96601fa
parenteb2ee0efd452dff6a8e6911ae46e25368b6c0ea7
drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event()

This one's easy - we're already calling kzalloc(GFP_KERNEL) in this
function, so we must already be guaranteed to have IRQs enabled when
calling this. So, use the plain _irq() variants of spin_(un)lock() to
make this more obvious.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200720190736.180297-5-lyude@redhat.com
drivers/gpu/drm/drm_vblank.c