[Intel-gfx] [PATCH 00/15] huge gtt pages

Matthew Auld matthew.auld at intel.com
Wed May 31 18:51:55 UTC 2017


Not too different from the last posting, except we now request thp through our
own tmpfs mount and try to support mixed gtt page sizes for a given object.

Matthew Auld (15):
  drm/i915: really simple gemfs
  drm/i915: enable THP for gemfs
  drm/i915: introduce page_size_mask to dev_info
  drm/i915: introduce gem object page_sizes
  drm/i915: align the vma start to the largest gtt page size
  drm/i915: align 64K objects to 2M
  drm/i915: pass mm.gtt_page_sizes to ppgtt insert_entries
  drm/i915: enable IPS bit for 64K pages
  drm/i915: disable GTT cache for 2M/1G pages
  drm/i915: support huge gtt pages for the 48b PPGTT
  drm/i915: accurate page size tracking for the ppgtt
  drm/i915/debugfs: include some gtt page size metrics
  drm/i915: enable platform support for 64K pages
  drm/i915: enable platform support for 2M pages
  drm/i915: enable platform support for 1G pages

 drivers/gpu/drm/i915/Makefile                    |   1 +
 drivers/gpu/drm/i915/i915_debugfs.c              |  40 ++++++-
 drivers/gpu/drm/i915/i915_drv.h                  |  16 +++
 drivers/gpu/drm/i915/i915_gem.c                  |  79 +++++++++++++-
 drivers/gpu/drm/i915/i915_gem_gtt.c              | 113 +++++++++++++++++---
 drivers/gpu/drm/i915/i915_gem_gtt.h              |  16 ++-
 drivers/gpu/drm/i915/i915_gem_object.h           |   7 ++
 drivers/gpu/drm/i915/i915_gemfs.c                | 128 +++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_pci.c                  |  29 +++++
 drivers/gpu/drm/i915/i915_reg.h                  |   3 +
 drivers/gpu/drm/i915/i915_vma.c                  |  30 ++++++
 drivers/gpu/drm/i915/intel_pm.c                  |  12 +--
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c    |   4 +-
 drivers/gpu/drm/i915/selftests/mock_gem_device.c |  18 +++-
 drivers/gpu/drm/i915/selftests/mock_gtt.c        |   1 +
 15 files changed, 470 insertions(+), 27 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_gemfs.c

-- 
2.9.4



More information about the Intel-gfx mailing list