[PATCH 00/11] various cleanups and dead coode removals in drm core
Daniel Vetter
daniel.vetter at ffwll.ch
Thu Apr 29 02:13:54 PDT 2010
Hi all,
[Dave, this is the patch series I've talked about on irc a few days ago.]
This patch series kills various things I've stumbled over while reading
through the drm core code. It mostly removes unnecessary stuff on the drm
core <-> driver interface.
Tested on my i845, i945 and agp rv570. All drm drivers compile-tested.
Please review and merge what you like for -next. Save patch 9 which
depends upon patch 8 (mucks around in the same place), they should be all
independent. So you can mix&match what you like.
Thanks, Daniel
Daniel Vetter (11):
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
drivers/gpu/drm/Makefile | 2 +-
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 | 21 ----
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 | 30 -----
23 files changed, 7 insertions(+), 325 deletions(-)
delete mode 100644 drivers/gpu/drm/drm_drawable.c
More information about the dri-devel
mailing list