git: drm/i915: Reduce differences with Linux in i915_gem_fault()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Oct 31 00:49:05 PDT 2015


commit 7f68d5c84e3ff7d445fae8ef40dccb973c556b77
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Oct 31 08:37:37 2015 +0100

    drm/i915: Reduce differences with Linux in i915_gem_fault()
    
    * The convoluted DragonFly-specific lock/unlock/try again VM fault
      handling code path was not treating gem objects in the same way
      during each try.
    
    * vma->pin_count could be zero, leading to a kernel panic.

Summary of changes:
 sys/dev/drm/i915/i915_gem.c | 32 +++++++++++++-------------------
 1 file changed, 13 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7f68d5c84e3ff7d445fae8ef40dccb973c556b77


-- 
DragonFly BSD source repository



More information about the Commits mailing list