git: drm - Stabilize broadwell and improve skylake

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 22 11:42:23 PDT 2016


commit a3268cb6a0bf7756350752b1e8c7954fdb650c89
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jul 22 11:22:32 2016 -0700

    drm - Stabilize broadwell and improve skylake
    
    * The issue was primarily the bitops on longs were all wrong.  '1 << N'
      returns an integer (even if N is a long), so those had to be 1L or 1LU.
      There were also some missing parenthesis in the bit test code.
    
    * Throw in one fix from Linux, but I think its basically a NOP when DMAPs
      are used (and we use DMAPs).
    
    * Add some code to catch a particular failure condition by locking up X
      in a while/tsleep loop instead of crashing outright, allowing a remote
      login to kgdb the live system.

Summary of changes:
 sys/dev/drm/i915/i915_gem_gtt.c             | 15 ++++++++++++++-
 sys/dev/drm/include/asm/bitops/non-atomic.h |  4 ++--
 sys/dev/drm/include/linux/bitops.h          | 10 +++++-----
 3 files changed, 21 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list