drm/vblank: Use spin_(un)lock_irq() in drm_legacy_vblank_post_modeset()
authorLyude Paul <lyude@redhat.com>
Mon, 20 Jul 2020 19:07:34 +0000 (15:07 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 21 Jul 2020 15:08:04 +0000 (11:08 -0400)
commiteb2ee0efd452dff6a8e6911ae46e25368b6c0ea7
treeab51b233923ff48db2078982208de580c9224598
parent92cc68e35863c1c61c449efa2b2daef6e9926048
drm/vblank: Use spin_(un)lock_irq() in drm_legacy_vblank_post_modeset()

This function is only ever called from ioctl context, so we're
guaranteed to have interrupts enabled. Stop using the irqsave/irqrestore
variants of spin_(un)lock_irq() to make this more obvious.

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