git: drm cleanup 17/x: Cleanup drmP.h header.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri May 20 01:39:58 PDT 2016


commit 04b45e6f810f7a33aeb4243e718ac438d707e469
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Thu May 19 11:30:58 2016 +0300

    drm cleanup 17/x: Cleanup drmP.h header.
    
    Changes:
      * change drm_setversion() to static, used only in drm_ioctl.c
      * move out some macros to linux layer
      * move helper DRM_GEM_* macros to drm_gem.h
      * remove FreeBSD legacy prototypes and compat macros(TTM)
      * remove drm_gem_pager_dtr(), was never used
      * remove many prototypes that have no functions available
      * regroup some blocks
      * keep structs untouched for now
    
    No functional change.

Summary of changes:
 sys/dev/drm/drm_gem.c                   |  15 ---
 sys/dev/drm/drm_ioctl.c                 |   2 +-
 sys/dev/drm/include/drm/drmP.h          | 163 ++++++--------------------------
 sys/dev/drm/include/drm/drm_gem.h       |   9 ++
 sys/dev/drm/include/linux/dma-mapping.h |   2 +
 sys/dev/drm/include/linux/kernel.h      |   5 +-
 sys/dev/drm/ttm/ttm_bo_vm.c             |  12 +--
 sys/dev/drm/ttm/ttm_tt.c                |  10 +-
 8 files changed, 55 insertions(+), 163 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04b45e6f810f7a33aeb4243e718ac438d707e469


-- 
DragonFly BSD source repository


More information about the Commits mailing list