drm - Used fixed start address instead of vm_map_hint() in i915_gem_mmap_ioctl()
commit12b70c84af18ef827efaae5e1c1e3fb338748794
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 30 Jun 2015 19:46:02 +0000 (30 12:46 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 30 Jun 2015 19:46:02 +0000 (30 12:46 -0700)
treee727d591722d43d3a53d1285db59fa7718f58d2a
parente2163f5b586ddc73c26edb8ff227f51c8059fb75
drm - Used fixed start address instead of vm_map_hint() in i915_gem_mmap_ioctl()

* We tried to fix i915_gem_mmap_ioctl() returning a valid 'NULL' address for
  the requested mapping by passing the vm_map_hint() address into it.  This
  worked, but for reasons unknown wound up destabilizing X11 itself.

* So, instead of using 0, and instead of using vm_map_hint(), the 'hint'
  starting address is now fixed at PAGE_SIZE (0x0000000000001000).  And this
  seems to solve the destabilization.
sys/dev/drm/i915/i915_gem.c