[Intel-gfx] [PATCH RESEND 00/20] dev->struct_mutex locking crusade

Daniel Vetter daniel.vetter at ffwll.ch
Thu Nov 19 08:46:29 PST 2015


Hi all,

Here's my resend of the dev->struct_mutex locking removal patches. I'd like to
get them all into 4.5, so please pick them either up into your tree or ack them.
I'll send a pull request for the remaining in a few weeks.

Thanks, Daniel

Daniel Vetter (20):
  drm/armada: Plug leak in dumb_map_offset
  drm/armada: Don't grab dev->struct_mutex for in mmap offset ioctl
  drm/armada: Drop struct_mutex from cursor paths
  drm/armada: Use a private mutex to protect priv->linear
  drm/tegra: don't take dev->struct_mutex in mmap offset ioctl
  drm/tegra: Use drm_gem_object_unreference_unlocked
  drm/gma500: Use correct unref in the gem bo create function
  drm/gma500: Drop dev->struct_mutex from modeset code
  drm/gma500: Drop dev->struct_mutex from fbdev init/teardown code
  drm/gma500: Drop dev->struct_mutex from mmap offset function
  drm/gma500: Add driver private mutex for the fault handler
  drm/nouveau: Drop dev->struct_mutex from fbdev init
  drm/exynos: Drop dev->struct_mutex from mmap offset function
  drm/exynos: drop struct_mutex from exynos_gem_map_sgt_with_dma
  drm/exynos: drop struct_mutex from exynos_drm_gem_get_ioctl
  drm/exynos: drop struct_mutex from fbdev setup
  drm/vgem: Simplify dum_map
  drm/vgem: Move get_pages to gem_create
  drm/vgem: Drop dev->struct_mutex
  drm/vma_manage: Drop has_offset

 drivers/gpu/drm/armada/armada_crtc.c      |  6 +-----
 drivers/gpu/drm/armada/armada_debugfs.c   |  4 ++--
 drivers/gpu/drm/armada/armada_drm.h       |  3 ++-
 drivers/gpu/drm/armada/armada_drv.c       |  1 +
 drivers/gpu/drm/armada/armada_gem.c       | 21 ++++++++-----------
 drivers/gpu/drm/drm_gem.c                 | 17 ++++++++++++++++
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 22 ++++++++------------
 drivers/gpu/drm/exynos/exynos_drm_gem.c   | 15 +-------------
 drivers/gpu/drm/gma500/framebuffer.c      | 12 ++---------
 drivers/gpu/drm/gma500/gem.c              | 19 ++++++-----------
 drivers/gpu/drm/gma500/gma_display.c      | 13 +++---------
 drivers/gpu/drm/gma500/gtt.c              |  1 +
 drivers/gpu/drm/gma500/psb_drv.h          |  2 ++
 drivers/gpu/drm/i915/i915_gem.c           |  3 ---
 drivers/gpu/drm/nouveau/nouveau_fbcon.c   |  5 -----
 drivers/gpu/drm/tegra/drm.c               |  4 +---
 drivers/gpu/drm/tegra/gem.c               | 13 ++----------
 drivers/gpu/drm/vgem/vgem_drv.c           | 34 +++++++++----------------------
 include/drm/drm_vma_manager.h             | 15 +-------------
 19 files changed, 69 insertions(+), 141 deletions(-)

-- 
2.5.1



More information about the Intel-gfx mailing list