git: drm/i915: Use a spinlock for i915_file_priv locking

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed Aug 14 01:19:48 PDT 2013


commit 901caa58e42f29b3238aef6287aee025583d4bc0
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Aug 14 10:13:03 2013 +0200

    drm/i915: Use a spinlock for i915_file_priv locking
    
    * This is also what Linux uses
    
    * Sync struct drm_i915_file_private and i915_gem_ring_throttle() a bit
      with Linux while I'm at it

Summary of changes:
 sys/dev/drm2/i915/i915_dma.c |  4 ++--
 sys/dev/drm2/i915/i915_drv.h |  2 +-
 sys/dev/drm2/i915/i915_gem.c | 50 +++++++++++++++++++++++++-------------------
 3 files changed, 31 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/901caa58e42f29b3238aef6287aee025583d4bc0


-- 
DragonFly BSD source repository



More information about the Commits mailing list