git: drm: Handle drm masters and minors like Linux

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sun Jan 11 12:59:15 PST 2015


commit 2aa08105f11f5815d087c0f6baea9af394bd323f
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Jan 10 21:06:46 2015 +0100

    drm: Handle drm masters and minors like Linux
    
    * Make drm data structures more like their Linux versions
    
    * Reduce differences with Linux 3.9.11 and use the same
      idr-based mechanisms when possible
    
    * Create devices with the right minor numbers
    
    * Use the same struct file.private_data mechanism Linux uses to pass
      drm_file information, removing the need for the FreeBSD-originated
      devfs cdevpriv code.

Summary of changes:
 sys/dev/drm/drm_auth.c            | 215 ++++++++--------
 sys/dev/drm/drm_bufs.c            |  74 ++++--
 sys/dev/drm/drm_context.c         | 377 +++++++++++++++++----------
 sys/dev/drm/drm_crtc.c            |  22 +-
 sys/dev/drm/drm_drv.c             | 175 ++-----------
 sys/dev/drm/drm_fops.c            | 267 +++++++++++--------
 sys/dev/drm/drm_ioctl.c           |   2 +-
 sys/dev/drm/drm_lock.c            |  16 +-
 sys/dev/drm/drm_stub.c            | 520 ++++++++++++++++++++++++++++++++++++--
 sys/dev/drm/drm_sysctl.c          |   2 +-
 sys/dev/drm/i915/i915_dma.c       | 141 ++++++-----
 sys/dev/drm/i915/i915_drv.c       |  33 ++-
 sys/dev/drm/i915/intel_display.c  |  38 +--
 sys/dev/drm/include/drm/drmP.h    | 271 ++++++++++++++------
 sys/dev/drm/radeon/r300_cmdbuf.c  |   4 +-
 sys/dev/drm/radeon/r600_blit.c    |   2 +-
 sys/dev/drm/radeon/r600_cp.c      |  10 +-
 sys/dev/drm/radeon/radeon_cp.c    |   4 +-
 sys/dev/drm/radeon/radeon_drv.h   |   2 +-
 sys/dev/drm/radeon/radeon_state.c |  38 +--
 sys/sys/file.h                    |   1 +
 21 files changed, 1444 insertions(+), 770 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2aa08105f11f5815d087c0f6baea9af394bd323f


-- 
DragonFly BSD source repository


More information about the Commits mailing list