aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2017-06-21 09:16:27 +0000
committerDaniel Vetter <[email protected]>2017-06-27 12:02:57 +0000
commit7141fd3e5ba90d09d2138ff1bbefd7cc43a82e94 (patch)
treefd64c0349ed511cd402c41dc7d6ed01070bc174e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/vmwgfx: Drop drm_vblank_cleanup (diff)
downloadkernel-7141fd3e5ba90d09d2138ff1bbefd7cc43a82e94.tar.gz
kernel-7141fd3e5ba90d09d2138ff1bbefd7cc43a82e94.zip
drm/atomic-helper: Simplify commit tracking locking
The crtc->commit_lock only protects commit_list and commit_entry. If we chase the pointer from the drm_atomic_state update structure, then we don't need any locks (since we hold a reference already). Simplify the locking accordingly. Noticed while reviewing a patch from Boris. Cc: Boris Brezillon <[email protected]> Reviewed-by: Sean Paul <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions