Skip to content

drm/vblank: Cleanup spin_(un)lock_irqsave() calls

Lyude Paul dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_reset()drivers/gpu/drm/drm_vblank.c+2 -30 replies
2/5drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on()drivers/gpu/drm/drm_vblank.c+2 -30 replies
3/5drm/vblank: Use spin_(un)lock_irq() in drm_legacy_vblank_post_modeset()drivers/gpu/drm/drm_vblank.c+2 -30 replies
4/5drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event()drivers/gpu/drm/drm_vblank.c+3 -41 reply
5/5drm/vblank: Use spin_(un)lock_irq() in drm_crtc_queue_sequence_ioctl()drivers/gpu/drm/drm_vblank.c+3 -40 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDaniel Vetter
1/5
2/5
3/5
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] drm/vblank: Cleanup spin_(un)lock_irqsave() calls

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(-)
Signature · 6 lines
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel