git: DragonFly_RELEASE_4_2 drm - Used fixed start address instead of vm_map_hint() in i915_gem_mmap_ioctl()
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jun 30 12:52:27 PDT 2015
commit 395405bf74c2884c4c9bdf591b52a4d6b7981d94
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Tue Jun 30 12:46:02 2015 -0700
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.
Summary of changes:
sys/dev/drm/i915/i915_gem.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/395405bf74c2884c4c9bdf591b52a4d6b7981d94
--
DragonFly BSD source repository
More information about the Commits
mailing list