drm - Stabilize broadwell and improve skylake
commitbf43022f4971d0a7994b7cede1da95b948346b2e
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:43:47 +0000 (22 11:43 -0700)
tree50cfbd1cdbab116098f7d9fc13bd189050d3a668
parent6c1feaf50952b51987811bfc4ec6466cfdaab389
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