drm/i915: Add I915_PARAM_MMAP_GTT_VERSION to advertise unlimited mmaps
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 25 Aug 2016 18:05:19 +0000 (19:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 26 Aug 2016 07:42:26 +0000 (08:42 +0100)
commit4cc6907501ed2393a70ad92a30e00dc54c536e50
tree54f08ed0316186d79f26de860bc101902fc65106
parent27082493e9c6371b05370a619ab9d2877c5f4726
drm/i915: Add I915_PARAM_MMAP_GTT_VERSION to advertise unlimited mmaps

Now that we have working partial VMA and faulting support for all
objects, including fence support, advertise to userspace that it can
take advantage of unlimited GGTT mmaps.

v2: Make room in the kerneldoc for a more detailed explanation of the
limitations of the GTT mmap interface.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160825180519.11341-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
include/uapi/drm/i915_drm.h