]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on()
authorLyude Paul <lyude@redhat.com>
Mon, 20 Jul 2020 19:07:33 +0000 (15:07 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 21 Jul 2020 15:08:03 +0000 (11:08 -0400)
commit92cc68e35863c1c61c449efa2b2daef6e9926048
treef7de164a1173e1014ceebe2c4152a1e69ea41db4
parentfbc678e836f11a6a65058deb7af7566e99a9571e
drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on()

This is only called from:
* Atomic modesetting hooks
* Module probing routines
* Legacy modesetting hooks

All of which have IRQs enabled, so we can also get rid of
irqsave/restore here to make the IRQ context of this function 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-3-lyude@redhat.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_vblank.c