]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ac5bd3b08116f56d81c29645e6603251f366271
tree54f08ed0316186d79f26de860bc101902fc65106
parent98d5401041b3eccdfcbf4c844128de0e7e9403a3
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