git: drm2: Handle locking

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Jul 23 11:21:40 PDT 2013


commit e8a91b3cefd66c1680879e24e150f5e98d3a8c20
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Tue Jul 23 19:18:48 2013 +0200

    drm2: Handle locking
    
    * Locally define PROC_LOCK and PROC_UNLOCK to nothing
    
    * irq_lock must be a lwkt serializer
    
    * Remove Giant usage
      Was it even needed on FreeBSD ?

Summary of changes:
 sys/dev/drm2/drmP.h                  |  44 ++++++------
 sys/dev/drm2/drm_crtc.c              | 136 +++++++++++++++++------------------
 sys/dev/drm2/drm_crtc.h              |   2 +-
 sys/dev/drm2/drm_crtc_helper.c       |   4 +-
 sys/dev/drm2/drm_dp_iic_helper.c     |   5 --
 sys/dev/drm2/drm_drv.c               |  38 +++++-----
 sys/dev/drm2/drm_fb_helper.c         |   6 +-
 sys/dev/drm2/drm_fops.c              |  16 ++---
 sys/dev/drm2/drm_gem_names.c         |  42 +++++------
 sys/dev/drm2/drm_gem_names.h         |   3 +-
 sys/dev/drm2/drm_irq.c               |  73 ++++++++-----------
 sys/dev/drm2/drm_mm.c                |  26 +++----
 sys/dev/drm2/drm_mm.h                |   2 +-
 sys/dev/drm2/drm_pci.c               |   5 +-
 sys/dev/drm2/i915/i915_debug.c       |  64 ++++++++---------
 sys/dev/drm2/i915/i915_dma.c         |  50 ++++++-------
 sys/dev/drm2/i915/i915_drv.c         |  30 ++++----
 sys/dev/drm2/i915/i915_drv.h         |  16 ++---
 sys/dev/drm2/i915/i915_gem.c         |  59 +++++++--------
 sys/dev/drm2/i915/i915_irq.c         |  98 ++++++++++++-------------
 sys/dev/drm2/i915/intel_display.c    |  44 ++++++------
 sys/dev/drm2/i915/intel_dp.c         |   4 +-
 sys/dev/drm2/i915/intel_fb.c         |   4 +-
 sys/dev/drm2/i915/intel_iic.c        |  20 +++---
 sys/dev/drm2/i915/intel_overlay.c    |  14 ++--
 sys/dev/drm2/i915/intel_ringbuffer.c |  18 ++---
 sys/dev/drm2/i915/intel_ringbuffer.h |   2 +-
 sys/dev/drm2/i915/intel_sprite.c     |   8 +--
 sys/dev/drm2/i915/intel_tv.c         |   8 +--
 29 files changed, 412 insertions(+), 429 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e8a91b3cefd66c1680879e24e150f5e98d3a8c20


-- 
DragonFly BSD source repository



More information about the Commits mailing list