[PULL] DRM Cleanups

David Herrmann dh.herrmann at gmail.com
Tue Aug 5 23:58:08 PDT 2014


Hi Dave

A bunch of cleanups that are all reviewed by Daniel and Alex. Has survived the
compile/runtime test bots for some weeks now, so should all be fine. Nothing
critical, though.

This series includes:
 * hide ctxbitmap harder so newer drivers don't use it
 * drop redundant drm_file->is_master
 * move code out of drm_drv.c
 * prepare sysfs/minor handling to be ready to drop drm_global_mutex

Feel free to rename drm_stub.c to drm_drv.c (acked by Alex and Daniel) after
you applied these patches.

Thanks
David


The following changes since commit a91576d7916f6cce76d30303e60e1ac47cf4a76d:

  drm/ttm: Pass GFP flags in order to avoid deadlock. (2014-08-05 10:54:19 +1000)

are available in the git repository at:

  ssh://dvdhrm@people.freedesktop.org/~dvdhrm/linux 

for you to fetch changes up to e7b96070dd9e51a8b16340411a8643d8c7d5a001:

  drm: mark drm_context support as legacy (2014-08-05 19:38:12 +0200)

----------------------------------------------------------------
David Herrmann (8):
      drm: extract legacy ctxbitmap flushing
      drm: drop redundant drm_file->is_master
      drm: don't de-authenticate clients on master-close
      drm: move module initialization to drm_stub.c
      drm: merge drm_drv.c into drm_ioctl.c
      drm: make minor->index available early
      drm: make sysfs device always available for minors
      drm: mark drm_context support as legacy

 drivers/gpu/drm/Makefile                   |   2 +-
 drivers/gpu/drm/drm_context.c              | 102 ++++---
 drivers/gpu/drm/drm_crtc.c                 |   2 +-
 drivers/gpu/drm/drm_drv.c                  | 471 -----------------------------
 drivers/gpu/drm/drm_fops.c                 |  77 +----
 drivers/gpu/drm/drm_ioctl.c                | 370 +++++++++++++++++++++-
 drivers/gpu/drm/drm_legacy.h               |  51 ++++
 drivers/gpu/drm/drm_lock.c                 |   3 +-
 drivers/gpu/drm/drm_stub.c                 | 238 +++++++++++----
 drivers/gpu/drm/drm_sysfs.c                |  90 +++---
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c        |   2 +-
 drivers/staging/imx-drm/imx-drm-core.c     |   2 +-
 include/drm/drmP.h                         |  61 ++--
 14 files changed, 727 insertions(+), 748 deletions(-)
 delete mode 100644 drivers/gpu/drm/drm_drv.c
 create mode 100644 drivers/gpu/drm/drm_legacy.h


More information about the dri-devel mailing list