This is a follow-up series for finishing the work that we started here:
https://patchwork.freedesktop.org/patch/373107/?series=74805&rev=8
tl;dr many of the drm_vblank functions only get called within irq-enabled contexts, so we go through those and convert them over to using spin_(un)lock_irq() to make this fact more obvious in case we need to add more blocking calls to any of these functions in the future.
Lyude Paul (5): drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_reset() drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on() drm/vblank: Use spin_(un)lock_irq() in drm_legacy_vblank_post_modeset() drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event() drm/vblank: Use spin_(un)lock_irq() in drm_crtc_queue_sequence_ioctl()
drivers/gpu/drm/drm_vblank.c | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-)