drm - Used fixed start address instead of vm_map_hint() in i915_gem_mmap_ioctl()v4.2.1
commit395405bf74c2884c4c9bdf591b52a4d6b7981d94
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:52:24 +0000 (30 12:52 -0700)
treecc40a2c02cf4ae528e957b8483aaf96111b2d42d
parent28502fd81d7033d7fb6f2e5f3e74ebd82c9babb4
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