drm - Stabilize broadwell and improve skylake
commita3268cb6a0bf7756350752b1e8c7954fdb650c89
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Jul 2016 18:22:32 +0000 (22 11:22 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 22 Jul 2016 18:42:19 +0000 (22 11:42 -0700)
tree7b8b0d18182a0147c1f9b476121361739a13f946
parent962f16a7bf52208573e87485f9d477e652bb34bf
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.
sys/dev/drm/i915/i915_gem_gtt.c
sys/dev/drm/include/asm/bitops/non-atomic.h
sys/dev/drm/include/linux/bitops.h