git: drm2: Handle slightly different little things (1/2)

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


commit 168ab13f61bad526b2b3329a772c0b04ba6352f7
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Tue Jul 23 19:21:53 2013 +0200

    drm2: Handle slightly different little things (1/2)
    
    * DragonFly and FreeBSD memory barrier functions are named differently
    
    * Replace TAILQ_FOREACH_SAFE by TAILQ_FOREACH_MUTABLE
    
    * CTLFLAG_RDTUN doesn't exist, use CTLFLAG_RD instead
    
    * kdb_active -> db_active
    
    * Implement and use a replacement for VM_OBJECT_LOCK_ASSERT(MA_OWNED)
    
    * VPO_BUSY => PG_BUSY
    
    * The way to get rlimit values is a little bit different
    
    * Replace MPASS with KASSERT
    
    * Use callout_init_mp() where FreeBSD uses CALLOUT_MPSAFE
      (suggested-by swildner)
    
    Parts-by: Johannes Hofmann

Summary of changes:
 sys/dev/drm2/drm_crtc.c                 |  2 +-
 sys/dev/drm2/drm_drv.c                  |  6 +++++-
 sys/dev/drm2/drm_gem.c                  |  3 ++-
 sys/dev/drm2/drm_irq.c                  |  4 ++--
 sys/dev/drm2/i915/i915_dma.c            |  2 +-
 sys/dev/drm2/i915/i915_gem.c            | 14 ++++++++------
 sys/dev/drm2/i915/i915_gem_execbuffer.c |  2 +-
 sys/dev/drm2/i915/intel_display.c       | 11 ++++++-----
 8 files changed, 26 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/168ab13f61bad526b2b3329a772c0b04ba6352f7


-- 
DragonFly BSD source repository



More information about the Commits mailing list