[git pull] drm legacy cleanups

Dave Airlie airlied at gmail.com
Wed Apr 24 07:08:22 UTC 2019


Hi Daniel,

All these are r-b and been looked over, I think they are good to put
in next now. I haven't included the pci one I'll do that later.

Dave.

The following changes since commit dbb92471674a48892f5e50779425e03388073ab9:

  Revert "drm: allow render capable master with DRM_AUTH ioctls"
(2019-04-18 06:46:33 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~airlied/linux drm-legacy-cleanup

for you to fetch changes up to ee22f76306a68359c33809f8895eff603e71584b:

  drm/legacy: remove some legacy lock struct members (2019-04-24 12:36:32 +1000)

----------------------------------------------------------------
Dave Airlie (12):
      drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
      drm/legacy: move drm_legacy_master_rmmaps to non-driver legacy header.
      drm/legacy: move map cleanups into drm_bufs.c
      drm/radeon: drop unused ati pcigart include.
      drm/legacy: move lock cleanup for master into lock file (v2)
      drm/legacy: move map_hash create/destroy into inlines
      drm/legacy: move init/destroy of struct members into legacy file
      drm/legacy: move legacy dev reinit into legacy misc
      drm/legacy: don't include any of ati_pcigart in legacy. (v2)
      drm: allow removal of legacy codepaths (v4.1)
      drm/legacy: place all drm legacy members under DRM_LEGACY.
      drm/legacy: remove some legacy lock struct members

 drivers/gpu/drm/Kconfig               |  4 ++
 drivers/gpu/drm/Makefile              |  9 ++--
 drivers/gpu/drm/drm_auth.c            | 19 +-------
 drivers/gpu/drm/drm_bufs.c            |  8 ++++
 drivers/gpu/drm/drm_drv.c             | 21 +++------
 drivers/gpu/drm/drm_file.c            | 25 ----------
 drivers/gpu/drm/drm_internal.h        |  2 +
 drivers/gpu/drm/drm_ioc32.c           | 13 +++++-
 drivers/gpu/drm/drm_ioctl.c           | 55 ++++++++++++----------
 drivers/gpu/drm/drm_irq.c             |  2 +
 drivers/gpu/drm/drm_legacy.h          | 87 ++++++++++++++++++++++++++++++++++-
 drivers/gpu/drm/drm_legacy_misc.c     | 82 +++++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_lock.c            | 19 ++++++++
 drivers/gpu/drm/drm_vm.c              |  2 +
 drivers/gpu/drm/nouveau/Kconfig       | 13 +++++-
 drivers/gpu/drm/nouveau/nouveau_drm.c |  7 ++-
 drivers/gpu/drm/radeon/radeon_drv.h   |  1 -
 include/drm/drm_auth.h                |  6 ++-
 include/drm/drm_device.h              |  3 +-
 include/drm/drm_file.h                |  2 +
 include/drm/drm_legacy.h              |  2 -
 21 files changed, 285 insertions(+), 97 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_legacy_misc.c


More information about the dri-devel mailing list