Skip to content

PPGTT with 48b addressing

Michel Thierry intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/i915/bdw: Make pdp allocation more dynamicdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h+126 -302 replies
2/12drm/i915/bdw: Abstract PDP usagedrivers/gpu/drm/i915/i915_gem_gtt.c+70 -533 replies
3/12drm/i915/bdw: Add dynamic page trace eventsdrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_trace.h+31 -82 replies
4/12drm/i915/bdw: Add ppgtt info for dynamic pagesdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h+51 -92 replies
5/12drm/i915/bdw: implement alloc/free for 4lvldrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h+217 -343 replies
6/12drm/i915/bdw: Add 4 level switching infrastructuredrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h drivers/gpu/drm/i915/i915_reg.h+55 -62 replies
7/12drm/i915/bdw: Support 64 bit PPGTT in lrc modedrivers/gpu/drm/i915/intel_lrc.c+114 -531 reply
8/12drm/i915/bdw: Generalize PTE writing for GEN8 PPGTTdrivers/gpu/drm/i915/i915_gem_gtt.c+38 -170 replies
9/12drm/i915: Plumb sg_iter through va allocation ->mapsdrivers/gpu/drm/i915/i915_gem_gtt.c+29 -170 replies
10/12drm/i915/bdw: Add 4 level support in insert_entries and clear_rangedrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_gem_gtt.h+67 -111 reply
11/12drm/i915: Expand error state's address width to 64bdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gpu_error.c+11 -101 reply
12/12drm/i915/bdw: Flip the 48b switchdrivers/gpu/drm/i915/i915_gem_gtt.c drivers/gpu/drm/i915/i915_params.c+3 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] PPGTT with 48b addressing

These patches rely on "PPGTT dynamic page allocations", currently under review, to provide GEN8 dynamic page table support with 64b addresses. As the review progresses, these patches may be combined.

In order expand the GPU address space, a 4th level translation is added, the Page Map Level 4 (PML4). This PML4 has 256 PML4 Entries (PML4E), PML4[0-255], each pointing to a PDP.

For now, this feature will only be available in BDW, in LRC submission mode (execlists) and when i915.enable_ppgtt=3 is set.
Also note that this expanded address space is only available for full PPGTT, aliasing PPGTT remains 32b.

Ben Widawsky (9):
drm/i915/bdw: Make pdp allocation more dynamic drm/i915/bdw: Abstract PDP usage drm/i915/bdw: Add dynamic page trace events drm/i915/bdw: Add ppgtt info for dynamic pages drm/i915/bdw: implement alloc/free for 4lvl drm/i915/bdw: Add 4 level switching infrastructure drm/i915/bdw: Generalize PTE writing for GEN8 PPGTT drm/i915: Plumb sg_iter through va allocation ->maps drm/i915: Expand error state's address width to 64b

Michel Thierry (3):
drm/i915/bdw: Support 64 bit PPGTT in lrc mode drm/i915/bdw: Add 4 level support in insert_entries and clear_range drm/i915/bdw: Flip the 48b switch

 drivers/gpu/drm/i915/i915_debugfs.c   |  19 +-
 drivers/gpu/drm/i915/i915_drv.h       |  11 +-
 drivers/gpu/drm/i915/i915_gem_gtt.c   | 624 ++++++++++++++++++++++++++++------
 drivers/gpu/drm/i915/i915_gem_gtt.h   |  77 ++++-
 drivers/gpu/drm/i915/i915_gpu_error.c |  17 +-
 drivers/gpu/drm/i915/i915_params.c    |   2 +-
 drivers/gpu/drm/i915/i915_reg.h       |   1 +
 drivers/gpu/drm/i915/i915_trace.h     |  16 +
 drivers/gpu/drm/i915/intel_lrc.c      | 167 ++++++---
 9 files changed, 746 insertions(+), 188 deletions(-)
Signature · 6 lines
2.1.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx