drm/i915: Add an optional selection from i915 of CONFIG_MMU_NOTIFIER
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Jan 2016 09:16:14 +0000 (09:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Feb 2016 12:58:46 +0000 (13:58 +0100)
commit755412e29c7745368316d890dde0398f58c3cf72
treeff27b083877d441eccec0085b96e0a892776d5e4
parentea49c9acf2db7082f0406bb3a570cc6bad37082b
drm/i915: Add an optional selection from i915 of CONFIG_MMU_NOTIFIER

userptr requires mmu-notifier for full unprivileged support. Most
systems have mmu-notifier support already enabled as a requirement for
virtualisation support, but we should make the option for i915 to take
advantage of mmu-notifiers explicit (and enable by default so that
regular userspace can take advantage of passing client memory to the
GPU.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452503961-14837-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Kconfig