[PATCH 00/10] Another shot at cruft removal

Daniel Vetter daniel.vetter at ffwll.ch
Wed Mar 30 09:45:10 UTC 2016


Hi all,

Found this pile of cruft removal patches hiding. Bunch of them have been posted
already a few times, most of them are variations of the "hide dev->struct_mutex"
theme.

Feedback and review highly welcome, I'd like to get them all in.

Thanks, Daniel

Daniel Vetter (10):
  drm/ttm: Remove TTM_HAS_AGP
  drm: Use dev->name as fallback for dev->unique
  drm/sysfs: Annote lockless show functions with READ_ONCE
  drm/sysfs: Nuke TV/DVI property files
  drm: Give drm_agp_clear drm_legacy_ prefix
  drm: Put legacy lastclose work into drm_legacy_dev_reinit
  drm: Move drm_getmap into drm_bufs.c and give it a legacy prefix
  drm: Forbid legacy MAP functions for DRIVER_MODESET
  drm: Push struct_mutex into ->master_destroy
  drm: Hide master MAP cleanup in drm_bufs.c

 drivers/gpu/drm/Kconfig                  |   1 +
 drivers/gpu/drm/drm_agpsupport.c         |   4 +-
 drivers/gpu/drm/drm_bufs.c               |  92 ++++++++++++++++-
 drivers/gpu/drm/drm_drv.c                |  10 +-
 drivers/gpu/drm/drm_fops.c               |  42 ++++----
 drivers/gpu/drm/drm_internal.h           |   2 +-
 drivers/gpu/drm/drm_ioctl.c              |  66 ++----------
 drivers/gpu/drm/drm_legacy.h             |   2 +
 drivers/gpu/drm/drm_pci.c                |   2 +-
 drivers/gpu/drm/drm_sysfs.c              | 167 ++-----------------------------
 drivers/gpu/drm/ttm/Makefile             |   3 +-
 drivers/gpu/drm/ttm/ttm_agp_backend.c    |   3 -
 drivers/gpu/drm/ttm/ttm_page_alloc.c     |   8 +-
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c |   8 +-
 drivers/gpu/drm/vgem/vgem_drv.c          |   2 -
 include/drm/drm_agpsupport.h             |   4 +-
 include/drm/drm_legacy.h                 |   4 +-
 include/drm/ttm/ttm_bo_driver.h          |   3 +-
 18 files changed, 145 insertions(+), 278 deletions(-)

-- 
2.8.0.rc3



More information about the dri-devel mailing list