[PULL 2/3] drm-minor

David Herrmann dh.herrmann at gmail.com
Sun Mar 16 06:31:05 PDT 2014


Hi Dave

This series contains several cleanups for the DRM-minor handling. All but the
last one reviewed by Daniel and tested by Thierry. Initially, the series
included patches to convert minor-handling to a common base-ID, but have
been NACKed by Daniel so I dropped them and only included the main part in the
last patch. With this in place, drm_global_mutex is no longer needed for
minor-handling (but still for device unregistration..).
There are some pending patches that try to remove the global mutex entirely, but
they need some more reviews and thus are not included.

Thanks
David


The following changes since commit 786a7828bc74b9b1466e83abb200b75f80f94121:

  Merge branch 'drm-next-3.15' of git://people.freedesktop.org/~deathsimple/linux into drm-next (2014-03-05 14:52:19 +1000)

are available in the git repository at:


  git://people.freedesktop.org/~dvdhrm/linux drm-minor

for you to fetch changes up to 0d639883ee26359e1bf38195df1dbca0f879e239:

  drm: make minors independent of global lock (2014-03-16 12:54:21 +0100)

----------------------------------------------------------------
David Herrmann (14):
      drm: group dev-lifetime related members
      drm: skip redundant minor-lookup in open path
      drm: remove unused DRM_MINOR_UNASSIGNED
      drm: turn DRM_MINOR_* into enum
      drm: provide device-refcount
      drm: add minor-lookup/release helpers
      drm: allocate minors early
      drm: move drm_put_minor() to drm_minor_free()
      drm: rename drm_unplug/get_minor() to drm_minor_register/unregister()
      drm: remove unneeded #ifdef CONFIG_DEBUGFS
      drm: remove redundant minor->device field
      drm: coding-style fixes in minor handling
      drm: inline drm_minor_get_id()
      drm: make minors independent of global lock

 drivers/gpu/drm/drm_drv.c      |   4 +-
 drivers/gpu/drm/drm_fops.c     |  70 ++++-----
 drivers/gpu/drm/drm_pci.c      |   2 +-
 drivers/gpu/drm/drm_platform.c |   2 +-
 drivers/gpu/drm/drm_stub.c     | 348 +++++++++++++++++++++++++----------------
 drivers/gpu/drm/drm_usb.c      |   2 +-
 drivers/gpu/drm/tegra/bus.c    |   2 +-
 include/drm/drmP.h             |  41 +++--
 8 files changed, 278 insertions(+), 193 deletions(-)


More information about the dri-devel mailing list