aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2020-07-20 15:07:32 -0400
committerLyude Paul <[email protected]>2020-07-21 11:08:03 -0400
commitfbc678e836f11a6a65058deb7af7566e99a9571e (patch)
treea401282be071d114e2fad698339d4396eacca3cb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent5767603c2619ae7bb7828f99446be02a8c05ea63 (diff)
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 <[email protected]> Cc: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions