[PATCH 0/5] DRM Cleanups

David Herrmann dh.herrmann at gmail.com
Wed Sep 9 05:21:28 PDT 2015


Hey

Just a set of 5 random cleanup patches for DRM-core: Simplifying
drm_core_init/exit(), dropping drm_core.h and fixing the mode-object ID
allocations.

Thanks
David

David Herrmann (5):
  drm: simplify drm_sysfs_destroy() via IS_ERR_OR_NULL()
  drm: move drm_class into drm_sysfs.c
  drm: cleanup drm_core_{init,exit}()
  drm: drop obsolete drm_core.h
  drm: allocate kernel mode-object IDs in cyclic fashion

 drivers/gpu/drm/drm_crtc.c     | 37 +++++++++++++++++++++++----
 drivers/gpu/drm/drm_drv.c      | 50 +++++++++++++++++-------------------
 drivers/gpu/drm/drm_internal.h |  5 +++-
 drivers/gpu/drm/drm_ioc32.c    |  1 -
 drivers/gpu/drm/drm_ioctl.c    |  1 -
 drivers/gpu/drm/drm_sysfs.c    | 57 +++++++++++++++++-------------------------
 include/drm/drm_core.h         | 34 -------------------------
 7 files changed, 82 insertions(+), 103 deletions(-)
 delete mode 100644 include/drm/drm_core.h

-- 
2.5.1



More information about the dri-devel mailing list