PPGTT dynamic page allocations and 48b addressing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest32 patches 12 repliesIn review
- v532 patches 3 repliesSuperseded
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/32 | drm/i915: page table abstractionsdrivers/ drivers/ | +111 | 0 replies | |
| 2/32 | drm/i915: Complete page table structuresdrivers/ drivers/ drivers/ +1 more | +44 | 0 replies | |
| 3/32 | drm/i915: Create page table allocatorsdrivers/ drivers/ drivers/ | +178 | 2 replies | |
| 4/32 | drm/i915: Plumb drm_device through page tables operationsdrivers/ | +16 | 2 replies | |
| 5/32 | drm/i915: Track GEN6 page table usagedrivers/ drivers/ | +211 | 2 replies | |
| 6/32 | drm/i915: Extract context switch skip and pd load logicdrivers/ | +31 | 4 replies | |
| 7/32 | drm/i915: Track page table reload needdrivers/ drivers/ drivers/ +1 more | +47 | 0 replies | |
| 8/32 | drm/i915: Initialize all contextsdrivers/ | +11 | 2 replies | |
| 9/32 | drm/i915: Finish gen6/7 dynamic page table allocationdrivers/ drivers/ drivers/ +1 more | +123 | 0 replies | |
| 10/32 | drm/i915: Add dynamic page trace eventsdrivers/ drivers/ drivers/ | +102 | 1 reply | |
| 11/32 | drm/i915/bdw: Use dynamic allocation idioms on freedrivers/ drivers/ | +60 | 0 replies | |
| 12/32 | drm/i915/bdw: page directories rework allocationdrivers/ | +30 | 0 replies | |
| 13/32 | drm/i915/bdw: pagetable allocation reworkdrivers/ | +29 | 0 replies | |
| 14/32 | drm/i915/bdw: Update pdp switch and point unused PDPs to scratch pagedrivers/ drivers/ | +22 | 0 replies | |
| 15/32 | drm/i915: num_pd_pages/num_pd_entries isn't usefuldrivers/ drivers/ drivers/ | +28 | 0 replies | |
| 16/32 | drm/i915: Extract PPGTT param from page_directory allocdrivers/ | +2 | 0 replies | |
| 17/32 | drm/i915/bdw: Split out mappingsdrivers/ | +69 | 0 replies | |
| 18/32 | drm/i915/bdw: begin bitmap trackingdrivers/ drivers/ | +81 | 0 replies | |
| 19/32 | drm/i915/bdw: Dynamic page table allocationsdrivers/ | +246 | 0 replies | |
| 20/32 | drm/i915/bdw: Support dynamic pdp updates in lrc modedrivers/ | +70 | 0 replies | |
| 21/32 | drm/i915/bdw: Make pdp allocation more dynamicdrivers/ drivers/ drivers/ | +127 | 0 replies | |
| 22/32 | drm/i915/bdw: Abstract PDP usagedrivers/ | +70 | 0 replies | |
| 23/32 | drm/i915/bdw: Add dynamic page trace eventsdrivers/ drivers/ | +31 | 0 replies | |
| 24/32 | drm/i915/bdw: Add ppgtt info for dynamic pagesdrivers/ drivers/ drivers/ | +51 | 0 replies | |
| 25/32 | drm/i915/bdw: implement alloc/free for 4lvldrivers/ drivers/ | +217 | 0 replies | |
| 26/32 | drm/i915/bdw: Add 4 level switching infrastructuredrivers/ drivers/ drivers/ | +55 | 0 replies | |
| 27/32 | drm/i915/bdw: Support 64 bit PPGTT in lrc modedrivers/ | +114 | 0 replies | |
| 28/32 | drm/i915/bdw: Generalize PTE writing for GEN8 PPGTTdrivers/ | +38 | 0 replies | |
| 29/32 | drm/i915: Plumb sg_iter through va allocation ->mapsdrivers/ | +29 | 0 replies | |
| 30/32 | drm/i915/bdw: Add 4 level support in insert_entries and clear_rangedrivers/ drivers/ | +67 | 0 replies | |
| 31/32 | drm/i915: Expand error state's address width to 64bdrivers/ drivers/ | +11 | 0 replies | |
| 32/32 | drm/i915/bdw: Flip the 48b switchdrivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
4 of 32 patches have a Reviewed-by or Acked-by.
| Patch | Mika Kuoppala | PRC QA PRTS (Patch Regression Test System Contact: |
|---|---|---|
| 1/32 | R-b | |
| 2/32 | R-b | |
| 3/32 | R-b | |
| 4/32 | R-b | |
| 5/32 | ||
| 6/32 | T-b | |
| 7/32 | ||
| 8/32 | ||
| 9/32 | ||
| 10/32 | ||
| 11/32 | ||
| 12/32 | ||
| 13/32 | ||
| 14/32 | ||
| 15/32 | ||
| 16/32 | ||
| 17/32 | ||
| 18/32 | ||
| 19/32 | ||
| 20/32 | ||
| 21/32 | ||
| 22/32 | ||
| 23/32 | ||
| 24/32 | ||
| 25/32 | ||
| 26/32 | ||
| 27/32 | ||
| 28/32 | ||
| 29/32 | ||
| 30/32 | ||
| 31/32 | ||
| 32/32 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 00/32] PPGTT dynamic page allocations and 48b addressing
This patchset addresses comments from v5 by Mika, specially some rename changes touched several patches.
For GEN8, it has also been extended to work in logical ring submission (lrc) mode, as it will be the preferred mode of operation.
I also tried to update the lrc code at the same time the ppgtt refactoring occurred, leaving only one patch that is exclusively for lrc.
I'm also now including the required patches for PPGTT with 48b addressing. 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 and GEN9, 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.
This list can be seen in 3 parts:
[01-10] Add page table allocation for GEN6/GEN7 [11-20] Enable dynamic allocation in GEN8,for both legacy and execlist submission modes.
[21-32] PML4 support in BDW and GEN9+.
Ben Widawsky (26):
drm/i915: page table abstractions
drm/i915: Complete page table structures
drm/i915: Create page table allocators
drm/i915: Track GEN6 page table usage
drm/i915: Extract context switch skip and pd load logic drm/i915: Track page table reload need
drm/i915: Initialize all contexts
drm/i915: Finish gen6/7 dynamic page table allocation drm/i915/bdw: Use dynamic allocation idioms on free drm/i915/bdw: page directories rework allocation drm/i915/bdw: pagetable allocation rework
drm/i915/bdw: Update pdp switch and point unused PDPs to scratch page drm/i915: num_pd_pages/num_pd_entries isn't useful drm/i915: Extract PPGTT param from page_directory alloc drm/i915/bdw: Split out mappings
drm/i915/bdw: begin bitmap tracking
drm/i915/bdw: Dynamic page table allocations
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 (6):
drm/i915: Plumb drm_device through page tables operations drm/i915: Add dynamic page trace events
drm/i915/bdw: Support dynamic pdp updates in lrc mode 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 | 26 +- drivers/gpu/drm/i915/i915_drv.h | 11 +- drivers/gpu/drm/i915/i915_gem.c | 11 + drivers/gpu/drm/i915/i915_gem_context.c | 64 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 11 + drivers/gpu/drm/i915/i915_gem_gtt.c | 1535 ++++++++++++++++++++++------ drivers/gpu/drm/i915/i915_gem_gtt.h | 248 ++++- 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 | 111 ++ drivers/gpu/drm/i915/intel_lrc.c | 149 ++- 12 files changed, 1787 insertions(+), 399 deletions(-)
Signature · 6 lines
2.1.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx