[PATCH 0/5] Partial GGTT views

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux