[PATCH 00/25] drm cruft removal

Daniel Vetter daniel.vetter at ffwll.ch
Thu Aug 8 06:41:10 PDT 2013


Hi all,

So a bunch of patches went in already, and a few of the ones here small fixups
(DocBook, compile fail for funny .configs and 1 unused variable). And slight
rebasing on top of David's drm_dev cleanup refactoring. The big change is that
the get_client ioclt isn't a complete noop now but fakes enough of the old thing
so that libva will keep on working - libva uses the get_client ioctl to figure
out whether it's authenticated or not.

Of course I've dutifully taken that libva code and pressed it into an igt
testcase to make sure we don't break anything.

r-b tags and acks for individual patches I've added, but there's the overall
review from Alex and testing from David on the series:

Tested-by: David Herrmann <dh.herrmann at gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

Comments and review highly welcome and please consider merging for drm-next.

Note that the patch "drm/imx: kill firstopen callback" is already merged into
the staging tree, but it's probably simplest if we merge it again through
drm-next.

Thanks, Daniel

Daniel Vetter (25):
  drm/omap: kill firstopen callback
  drm/radeon: kill firstopen callback for kms driver
  drm/imx: kill firstopen callback
  drm/vmwgfx: remove ->firstopen callback
  drm: don't call ->firstopen for KMS drivers
  drm: kill dev->driver->set_version
  drm: hide legacy sg cleanup better from common code
  drm: disallow legacy sg ioctls for modesetting drivers
  drm: mark dma setup/teardown as legacy systems
  drm: disallow legacy dma ioctls for modesetting drivers
  drm: mark context support as a legacy subsystem
  drm/vmwgfx: remove redundant clearing of driver->dma_quiescent
  drm: remove FASYNC support
  drm: rip out DRIVER_FB_DMA and related code
  drm: rip out a few unused DRIVER flags
  drm: remove a bunch of unused #defines from drmP.h
  drm: rip out drm_core_has_MTRR checks
  drm/docs: rip out removed driver flags documentation
  drm: remove the dma_ioctl special-case
  drm/memory: don't export agp helpers
  drm: hollow-out GET_CLIENT ioctl
  drm: no-op out GET_STATS ioctl
  drm: fix locking in gem debugfs/procfs file
  drm: remove procfs code, take 2
  drm: move dev data clearing from drm_setup to lastclose

 Documentation/DocBook/drm.tmpl           |  57 +++------
 drivers/gpu/drm/Makefile                 |   2 +-
 drivers/gpu/drm/ast/ast_drv.c            |   3 +-
 drivers/gpu/drm/cirrus/cirrus_drv.c      |   3 +-
 drivers/gpu/drm/drm_bufs.c               | 201 +++++------------------------
 drivers/gpu/drm/drm_context.c            |  73 +++++++++--
 drivers/gpu/drm/drm_dma.c                |  17 ++-
 drivers/gpu/drm/drm_drv.c                |  51 ++++----
 drivers/gpu/drm/drm_fops.c               |  71 +----------
 drivers/gpu/drm/drm_info.c               |   4 +
 drivers/gpu/drm/drm_ioctl.c              |  59 ++++-----
 drivers/gpu/drm/drm_memory.c             |   2 -
 drivers/gpu/drm/drm_pci.c                |  14 +--
 drivers/gpu/drm/drm_proc.c               | 209 -------------------------------
 drivers/gpu/drm/drm_scatter.c            |  16 ++-
 drivers/gpu/drm/drm_stub.c               |  42 ++-----
 drivers/gpu/drm/drm_vm.c                 |   3 +-
 drivers/gpu/drm/gma500/psb_drv.c         |   3 +-
 drivers/gpu/drm/i810/i810_dma.c          |   1 -
 drivers/gpu/drm/i810/i810_drv.c          |   3 +-
 drivers/gpu/drm/i915/i915_drv.c          |   3 +-
 drivers/gpu/drm/mga/mga_drv.c            |   3 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c    |   3 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c    |   1 -
 drivers/gpu/drm/omapdrm/omap_drv.c       |   8 --
 drivers/gpu/drm/qxl/qxl_drv.c            |   1 -
 drivers/gpu/drm/r128/r128_drv.c          |   3 +-
 drivers/gpu/drm/radeon/radeon_drv.c      |   8 +-
 drivers/gpu/drm/radeon/radeon_kms.c      |  13 --
 drivers/gpu/drm/rcar-du/rcar_du_drv.c    |   1 -
 drivers/gpu/drm/savage/savage_drv.c      |   3 +-
 drivers/gpu/drm/shmobile/shmob_drm_drv.c |   1 -
 drivers/gpu/drm/sis/sis_drv.c            |   3 +-
 drivers/gpu/drm/tdfx/tdfx_drv.c          |   2 -
 drivers/gpu/drm/tilcdc/tilcdc_drv.c      |   1 -
 drivers/gpu/drm/udl/udl_drv.c            |   1 -
 drivers/gpu/drm/via/via_drv.c            |   3 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c      |  20 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h      |   1 -
 drivers/gpu/host1x/drm/drm.c             |   1 -
 drivers/staging/imx-drm/imx-drm-core.c   |  21 +---
 include/drm/drmP.h                       |  52 ++------
 42 files changed, 253 insertions(+), 734 deletions(-)
 delete mode 100644 drivers/gpu/drm/drm_proc.c

-- 
1.8.3.2



More information about the dri-devel mailing list