summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/meson/meson_drv.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-21 12:16:27 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-06-27 15:02:57 +0300
commit7141fd3e5ba90d09d2138ff1bbefd7cc43a82e94 (patch)
treefd64c0349ed511cd402c41dc7d6ed01070bc174e /drivers/gpu/drm/meson/meson_drv.c
parent5f58e9742df3f1cdf1034a26569649f5f4fd776b (diff)
downloadlinux-7141fd3e5ba90d09d2138ff1bbefd7cc43a82e94.tar.xz
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 <boris.brezillon@free-electrons.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170621091627.30837-1-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/meson/meson_drv.c')
0 files changed, 0 insertions, 0 deletions