git: drm/i915: Switch rps.client_lock to a lockmgr lock

Francois Tigeot ftigeot at crater.dragonflybsd.org
Thu Apr 7 10:20:58 PDT 2016


commit 5962e8c7a388a085a0bf7c0c19d71c72aa4fcb86
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Thu Apr 7 19:18:25 2016 +0200

    drm/i915: Switch rps.client_lock to a lockmgr lock
    
    Even though it was extremely improbable, there was a possibility for the
    i915 driver to sleep while holding the rps.client_lock spinlock.

Summary of changes:
 sys/dev/drm/i915/i915_drv.h |  2 +-
 sys/dev/drm/i915/i915_gem.c |  4 ++--
 sys/dev/drm/i915/intel_pm.c | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5962e8c7a388a085a0bf7c0c19d71c72aa4fcb86


-- 
DragonFly BSD source repository



More information about the Commits mailing list