[RFC PATCH 00/18] drm/i915: initial support for huge gtt pages V2

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

 



Same as before, folding in review comments. Notably we now hook in transparent
huge pages through by shmem, and *attempt* to deal with all the fun which that
brings. Again should be considered very much RFC.

So far I have only gone as far as testing 2M pages on my BDW machine.

Thanks,
Matt

Matthew Auld (18):
  drm/i915: add page_size_mask to dev_info
  drm/i915: introduce drm_i915_gem_object page_size members
  drm/i915: pass page_size to insert_entries
  drm/i915: s/i915_gtt_color_adjust/i915_ggtt_color_adjust
  drm/i915: clean up cache coloring
  drm/i915: export color_differs
  drm/i915: introduce ppgtt page coloring
  drm/i915: handle evict-for-node with page coloring
  drm/i915: support inserting 64K pages in the ppgtt
  drm/i915: support inserting 2M pages in the ppgtt
  drm/i915: support inserting 1G pages in the ppgtt
  drm/i915: disable GTT cache for huge-pages
  drm/i915/selftests: exercise 4K and 64K mm insertion
  drm/i915/selftests: modify the gtt tests to also exercise huge pages
  drm/i915/selftests: exercise evict-for-node page coloring
  drm/i915/debugfs: include some huge-page metrics
  mm/shmem: tweak the huge-page interface
  drm/i915: support transparent-huge-pages through shmemfs

 drivers/gpu/drm/i915/i915_debugfs.c             |  38 +++-
 drivers/gpu/drm/i915/i915_drv.h                 |   8 +-
 drivers/gpu/drm/i915/i915_gem.c                 | 195 ++++++++++++++++----
 drivers/gpu/drm/i915/i915_gem_evict.c           |  36 +++-
 drivers/gpu/drm/i915/i915_gem_gtt.c             | 236 ++++++++++++++++++++++--
 drivers/gpu/drm/i915/i915_gem_gtt.h             |  35 +++-
 drivers/gpu/drm/i915/i915_gem_object.h          |   3 +
 drivers/gpu/drm/i915/i915_pci.c                 |  23 ++-
 drivers/gpu/drm/i915/i915_vma.c                 |  32 +++-
 drivers/gpu/drm/i915/i915_vma.h                 |   6 +
 drivers/gpu/drm/i915/intel_pm.c                 |  12 +-
 drivers/gpu/drm/i915/selftests/i915_gem_evict.c | 125 ++++++++++++-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c   | 194 +++++++++++++++----
 drivers/gpu/drm/i915/selftests/mock_gtt.c       |   4 +
 include/linux/shmem_fs.h                        |   1 +
 mm/shmem.c                                      |  10 +-
 16 files changed, 836 insertions(+), 122 deletions(-)

-- 
2.9.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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