diff options
author | Lyude Paul <lyude@redhat.com> | 2020-07-20 22:07:32 +0300 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2020-07-21 18:08:03 +0300 |
commit | fbc678e836f11a6a65058deb7af7566e99a9571e (patch) | |
tree | a401282be071d114e2fad698339d4396eacca3cb /scripts/gdb/linux/proc.py | |
parent | 5767603c2619ae7bb7828f99446be02a8c05ea63 (diff) | |
download | linux-fbc678e836f11a6a65058deb7af7566e99a9571e.tar.xz |
drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_reset()
All of the drivers in the kernel tree only call this from one of the
following contexts:
* drm_crtc_funcs->reset
* During initial module load
Since both of these contexts are guaranteed to have interrupts enabled
beforehand, there's no need to use the irqsave/irqrestore variants of
spin_(un)lock(). So, fix this 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-2-lyude@redhat.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions