summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-11 15:51:35 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 21:17:12 (GMT)
commitb62584e366ebcb3adffefad373a5abc4c4b677ca (patch)
tree12d9031be150949f3d4adcbe5aa7cd121df4e4c1 /drivers/media/platform
parent2fd5eabab02d9cdade04397eae0bfd49f452cdba (diff)
downloadlinux-fsl-qoriq-b62584e366ebcb3adffefad373a5abc4c4b677ca.tar.xz
drm: optimize drm_framebuffer_remove
Now that all framebuffer usage is properly refcounted, we are no longer required to hold the modeset locks while dropping the last reference. Hence implemented a fastpath which avoids the potential stalls associated with grabbing mode_config.lock for the case where there's no other reference around. Explain in a big comment why it is safe. Also update kerneldocs with the new locking rules around drm_framebuffer_remove. Reviewed-by: Rob Clark <rob@ti.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions