[Intel-gfx] [PATCH 0/5] Partial GGTT views
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Fri Apr 24 05:08:41 PDT 2015
This series adds partial GGTT views and uses them from the GTT mmap
fault handler for objects bigger than half the aperture. This allows
to handle huge objects through mmap from user land. And not only
huge objects, but when objects are of regular size and aperture is
shrinked due to virtualization. (vGT)
Tiling is not supported yet. Other than that, the gem_mmap_gtt suite
passes without errors even when the mmap fault handler would be
converted to unconditionally use partial views.
Regards, Joonas
Joonas Lahtinen (5):
drm/i915: Do not clear mappings beyond VMA size
drm/i915: Do not make assumptions on GGTT VMA sizes
drm/i915: Consider object pinned if any VMA is pinned
drm/i915: Add a partial GGTT view type
drm/i915: Use partial view in mmap fault handler
drivers/gpu/drm/i915/i915_gem.c | 180 ++++++++++++++++++++++-------------
drivers/gpu/drm/i915/i915_gem_gtt.c | 77 ++++++++++++++-
drivers/gpu/drm/i915/i915_gem_gtt.h | 19 +++-
3 files changed, 207 insertions(+), 69 deletions(-)
--
1.7.9.5
More information about the Intel-gfx
mailing list