[PATCH 00/14] various drm core cleanups

Daniel Vetter daniel.vetter at ffwll.ch
Mon Aug 23 13:53:22 PDT 2010


Hi all,

The following patch-pile contains various cleanups in the drm core. All but
patch 12 are resends. I've gone ahead and added the two reviewed-bys that
patch 9 scored on the first submission to the patch.

Patches apply on top of latest drm-core-next. Tested on my agp rv570 (kms and
ums) i945gm and ironlake (both kms only). Other drivers compile-tested.

Forward-porting these already a few months old patches only resulted in one
trivial conflict. Hence I think that merging this early won't cause a merging
headache.

Please review and (re)consider for merging to -next.

Thanks, Daniel

Daniel Vetter (14):
  drm: don't export drm_sg_alloc
  drm: kill kernel_context_switch callbacks
  drm: kill dma_ready callbacks
  drm: kill procfs callbacks
  drm: kill drm_map_ofs callbacks
  drm: kill get_reg_ofs callback
  drm: kill context_ctor callback
  drm: don't export drm_get_drawable_info
  drm: replace drawable ioctl by noops
  drm: kill dev->timer
  drm: kill gem_free_object_unlocked driver callback
  drm: don't export dri1 locking functions
  drm: drop return value of drm_free_agp
  drm: kill agp indirection mess

 drivers/gpu/drm/Makefile              |    2 +-
 drivers/gpu/drm/drm_agpsupport.c      |   40 +------
 drivers/gpu/drm/drm_context.c         |    8 --
 drivers/gpu/drm/drm_drawable.c        |  198 ---------------------------------
 drivers/gpu/drm/drm_drv.c             |   10 +-
 drivers/gpu/drm/drm_gem.c             |    4 +-
 drivers/gpu/drm/drm_lock.c            |   31 +-----
 drivers/gpu/drm/drm_memory.c          |   14 +--
 drivers/gpu/drm/drm_proc.c            |   13 --
 drivers/gpu/drm/drm_scatter.c         |    2 -
 drivers/gpu/drm/drm_stub.c            |    4 -
 drivers/gpu/drm/drm_vm.c              |   13 +--
 drivers/gpu/drm/i810/i810_drv.c       |    2 -
 drivers/gpu/drm/i830/i830_drv.c       |    2 -
 drivers/gpu/drm/i915/i915_drv.c       |    2 -
 drivers/gpu/drm/mga/mga_drv.c         |    2 -
 drivers/gpu/drm/nouveau/nouveau_drv.c |    2 -
 drivers/gpu/drm/r128/r128_drv.c       |    2 -
 drivers/gpu/drm/radeon/radeon_drv.c   |    4 -
 drivers/gpu/drm/savage/savage_drv.c   |    2 -
 drivers/gpu/drm/sis/sis_drv.c         |    3 -
 drivers/gpu/drm/tdfx/tdfx_drv.c       |    2 -
 drivers/gpu/drm/via/via_drv.c         |    2 -
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c   |    2 -
 include/drm/drmP.h                    |   38 +------
 25 files changed, 19 insertions(+), 385 deletions(-)
 delete mode 100644 drivers/gpu/drm/drm_drawable.c



More information about the dri-devel mailing list