Skip to content

Introduce IGT allocator

Zbigniew Kempczyński igt-dev 33 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v34 Latest38 patches 0 repliesNew
  2. v3339 patches 4 repliesSuperseded
  3. v3239 patches 0 repliesSuperseded
Earlier versions · 30
VersionPostedPatchesRepliesStatus
v3140 patches0 repliesSuperseded
v3039 patches1 replySuperseded
v2936 patches2 repliesSuperseded
v2836 patches2 repliesSuperseded
v2736 patches0 repliesSuperseded
v2635 patches15 repliesSuperseded
v2535 patches0 repliesSuperseded
v2436 patches0 repliesSuperseded
v2337 patches9 repliesSuperseded
v2236 patches1 replySuperseded
v2135 patches21 repliesSuperseded
v1934 patches3 repliesSuperseded
v1831 patches13 repliesSuperseded
v1731 patches1 replySuperseded
v1631 patches0 repliesSuperseded
v1533 patches0 repliesSuperseded
v1433 patches10 repliesSuperseded
v1331 patches2 repliesSuperseded
v1231 patches0 repliesSuperseded
v1131 patches0 repliesSuperseded
v1031 patches3 repliesSuperseded
v929 patches2 repliesSuperseded
v829 patches0 repliesSuperseded
v728 patches0 repliesSuperseded
v627 patches1 replySuperseded
v526 patches0 repliesSuperseded
v423 patches0 repliesSuperseded
v323 patches2 repliesSuperseded
v223 patches0 repliesSuperseded
v124 patches4 repliesSuperseded

Patches in v34 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/38lib/igt_list: Add igt_list_del_init()lib/igt_list.c lib/igt_list.h+7 -00 replies
2/38lib/igt_list: Add igt_list_for_each_entry_safe_reverselib/igt_list.h+6 -00 replies
3/38lib/igt_map: Adopt Mesa hash tabledocs/reference/igt-gpu-tools/igt-gpu-tools-docs.xml lib/igt_map.c lib/igt_map.h +1 more+678 -00 replies
4/38lib/igt_core: Track child process pid and tidlib/igt_core.c+6 -00 replies
5/38lib/intel_allocator_simple: Add simple allocatorlib/intel_allocator_simple.c+804 -00 replies
6/38lib/intel_allocator_reloc: Add reloc allocatorlib/intel_allocator_reloc.c+190 -00 replies
7/38lib/intel_allocator_random: Add random allocatorlib/intel_allocator_random.c+188 -00 replies
8/38lib/intel_allocator: Add intel_allocator coredocs/reference/igt-gpu-tools/igt-gpu-tools-docs.xml lib/igt_core.c lib/intel_allocator.c +4 more+1928 -00 replies
9/38lib/intel_allocator: Try to stop smoothly instead of deinitlib/intel_allocator.c+14 -00 replies
10/38lib/intel_allocator_msgchannel: Scale to 4k of parallel clientslib/intel_allocator_msgchannel.c+8 -00 replies
11/38lib/intel_allocator: Separate allocator multiprocess startlib/intel_allocator.c lib/intel_allocator.h+36 -70 replies
12/38lib/intel_bufops: Change size from 32->64 bitlib/intel_bufops.c lib/intel_bufops.h tests/i915/api_intel_bb.c+16 -140 replies
13/38lib/intel_bufops: Add init with handle and size functionlib/intel_bufops.c lib/intel_bufops.h+38 -30 replies
14/38lib/intel_batchbuffer: Integrate intel_bb with allocatorlib/intel_aux_pgtable.c lib/intel_batchbuffer.c lib/intel_batchbuffer.h +2 more+403 -1770 replies
15/38lib/intel_batchbuffer: Use relocations in intel-bb up to gen12lib/intel_batchbuffer.c+28 -110 replies
16/38lib/intel_batchbuffer: Create bb with strategy / vm rangeslib/intel_batchbuffer.c lib/intel_batchbuffer.h+59 -140 replies
17/38lib/intel_batchbuffer: Add tracking intel_buf to intel_bblib/intel_batchbuffer.c lib/intel_batchbuffer.h lib/intel_bufops.c +3 more+169 -740 replies
18/38lib/intel_batchbuffer: Don't collect relocations for newer genslib/intel_batchbuffer.c+7 -10 replies
19/38lib/igt_fb: Initialize intel_buf with same size as fblib/igt_fb.c+5 -50 replies
20/38tests/api_intel_bb: Remove check-canonical testtests/i915/api_intel_bb.c+0 -440 replies
21/38tests/api_intel_bb: Modify test to verify intel_bb with allocatortests/i915/api_intel_bb.c+377 -1150 replies
22/38tests/api_intel_bb: Add compressed->compressed copytests/i915/api_intel_bb.c+12 -10 replies
23/38tests/api_intel_bb: Add purge-bb testtests/i915/api_intel_bb.c+30 -00 replies
24/38tests/api_intel_bb: Add simple intel-bb which uses allocatortests/i915/api_intel_bb.c+33 -00 replies
25/38tests/api_intel_bb: Use allocator in delta-check testtests/i915/api_intel_bb.c+2 -10 replies
26/38tests/api_intel_bb: Check switching vm in intel-bbtests/i915/api_intel_bb.c+105 -00 replies
27/38tests/api_intel_allocator: Simple allocator test suitetests/i915/api_intel_allocator.c tests/meson.build+574 -00 replies
28/38tests/api_intel_allocator: Add execbuf with allocator exampletests/i915/api_intel_allocator.c+91 -00 replies
29/38tests/api_intel_allocator: Verify child can use its standalone allocatortests/i915/api_intel_allocator.c+42 -00 replies
30/38tests/gem_softpin: Verify allocator and execbuf pair work togethertests/i915/gem_softpin.c tests/intel-ci/fast-feedback.testlist+196 -00 replies
31/38tests/gem|kms: Remove intel_bb from fixturetests/i915/gem_caching.c tests/i915/gem_partial_pwrite_pread.c tests/i915/gem_render_copy.c +1 more+61 -360 replies
32/38tests/gem_mmap_offset: Use intel_buf wrapper code instead directtests/i915/gem_mmap_offset.c+2 -20 replies
33/38tests/gem_ppgtt: Adopt test to use intel_bb with allocatortests/i915/gem_ppgtt.c+6 -10 replies
34/38tests/gem_render_copy_redux: Adopt to use with intel_bb and allocatortests/i915/gem_render_copy_redux.c+15 -90 replies
35/38tests/perf.c: Remove buffer from batchtests/i915/perf.c+9 -00 replies
36/38tests/gem_linear_blits: Use intel allocatortests/i915/gem_linear_blits.c+68 -220 replies
37/38lib/intel_allocator: Add alloc function which allows passing strategy argumentlib/intel_allocator.c lib/intel_allocator.h lib/intel_allocator_msgchannel.h +4 more+86 -300 replies
38/38lib/intel_allocator: Wait for allocator thread to be readylib/intel_allocator.c+7 -00 replies

Reviews trailers per patch

All 38 patches have a Reviewed-by or Acked-by.

PatchChris WilsonJason EkstrandPetri LatvalaZbigniew KempczyńskiArjun MelkaveriDaniel VetterLionel Landwerlin
1/38R-b R-b A-b
2/38A-b R-b
3/38A-b R-b
4/38A-b A-b A-b
5/38A-b A-b
6/38A-b A-b
7/38A-b A-b
8/38A-b A-b
9/38A-b A-b
10/38A-b A-b
11/38A-b A-b
12/38R-b A-b A-b
13/38R-b A-b A-b
14/38A-b A-b
15/38A-b A-b
16/38A-b A-b
17/38A-b A-b
18/38A-b A-b
19/38A-b A-b
20/38A-b A-b A-b
21/38A-b A-b
22/38A-b A-b
23/38A-b A-b
24/38A-b A-b
25/38A-b A-b
26/38A-b A-b
27/38A-b A-b
28/38A-b A-b
29/38A-b A-b
30/38R-b A-b A-b
31/38A-b A-b
32/38R-b A-b A-b
33/38A-b A-b
34/38A-b A-b
35/38A-b A-b R-b
36/38A-b A-b
37/38A-b A-b
38/38A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v34 thread

Cover letter [igt-dev] [PATCH i-g-t v34 00/38] Introduce IGT allocator

We decided to merge this with 2xA-B only. This is final series push to ML to leave this series in history in same shape it is merged.

Cc Dominik Grzegorzek <[email protected]>
Cc Chris Wilson <[email protected]>
Cc Petri Latvala <[email protected]>
Cc Andrzej Turko <[email protected]>

Dominik Grzegorzek (5):
lib/igt_list: Add igt_list_for_each_entry_safe_reverse lib/igt_map: Adopt Mesa hash table lib/intel_allocator_simple: Add simple allocator tests/api_intel_allocator: Simple allocator test suite tests/gem_linear_blits: Use intel allocator

Zbigniew Kempczyński (33):
lib/igt_list: Add igt_list_del_init()
lib/igt_core: Track child process pid and tid lib/intel_allocator_reloc: Add reloc allocator lib/intel_allocator_random: Add random allocator lib/intel_allocator: Add intel_allocator core lib/intel_allocator: Try to stop smoothly instead of deinit lib/intel_allocator_msgchannel: Scale to 4k of parallel clients lib/intel_allocator: Separate allocator multiprocess start lib/intel_bufops: Change size from 32->64 bit lib/intel_bufops: Add init with handle and size function lib/intel_batchbuffer: Integrate intel_bb with allocator lib/intel_batchbuffer: Use relocations in intel-bb up to gen12 lib/intel_batchbuffer: Create bb with strategy / vm ranges lib/intel_batchbuffer: Add tracking intel_buf to intel_bb lib/intel_batchbuffer: Don't collect relocations for newer gens lib/igt_fb: Initialize intel_buf with same size as fb tests/api_intel_bb: Remove check-canonical test tests/api_intel_bb: Modify test to verify intel_bb with allocator tests/api_intel_bb: Add compressed->compressed copy tests/api_intel_bb: Add purge-bb test
tests/api_intel_bb: Add simple intel-bb which uses allocator tests/api_intel_bb: Use allocator in delta-check test tests/api_intel_bb: Check switching vm in intel-bb tests/api_intel_allocator: Add execbuf with allocator example tests/api_intel_allocator: Verify child can use its standalone
allocator
tests/gem_softpin: Verify allocator and execbuf pair work together tests/gem|kms: Remove intel_bb from fixture tests/gem_mmap_offset: Use intel_buf wrapper code instead direct tests/gem_ppgtt: Adopt test to use intel_bb with allocator tests/gem_render_copy_redux: Adopt to use with intel_bb and allocator tests/perf.c: Remove buffer from batch lib/intel_allocator: Add alloc function which allows passing strategy
argument
lib/intel_allocator: Wait for allocator thread to be ready

 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    2 +
 lib/igt_core.c                                |   20 +
 lib/igt_fb.c                                  |   10 +-
 lib/igt_list.c                                |    6 +
 lib/igt_list.h                                |    7 +
 lib/igt_map.c                                 |  502 ++++++
 lib/igt_map.h                                 |  174 ++
 lib/intel_allocator.c                         | 1422 +++++++++++++++++
 lib/intel_allocator.h                         |  231 +++
 lib/intel_allocator_msgchannel.c              |  195 +++
 lib/intel_allocator_msgchannel.h              |  157 ++
 lib/intel_allocator_random.c                  |  190 +++
 lib/intel_allocator_reloc.c                   |  192 +++
 lib/intel_allocator_simple.c                  |  807 ++++++++++
 lib/intel_aux_pgtable.c                       |   26 +-
 lib/intel_batchbuffer.c                       |  737 ++++++---
 lib/intel_batchbuffer.h                       |   54 +-
 lib/intel_bufops.c                            |   64 +-
 lib/intel_bufops.h                            |   20 +-
 lib/media_spin.c                              |    2 -
 lib/meson.build                               |    7 +
 tests/i915/api_intel_allocator.c              |  715 +++++++++
 tests/i915/api_intel_bb.c                     |  741 +++++++--
 tests/i915/gem_caching.c                      |   14 +-
 tests/i915/gem_linear_blits.c                 |   90 +-
 tests/i915/gem_mmap_offset.c                  |    4 +-
 tests/i915/gem_partial_pwrite_pread.c         |   40 +-
 tests/i915/gem_ppgtt.c                        |    7 +-
 tests/i915/gem_render_copy.c                  |   31 +-
 tests/i915/gem_render_copy_redux.c            |   24 +-
 tests/i915/gem_softpin.c                      |  194 +++
 tests/i915/perf.c                             |    9 +
 tests/intel-ci/fast-feedback.testlist         |    2 +
 tests/kms_big_fb.c                            |   12 +-
 tests/meson.build                             |    1 +
 35 files changed, 6224 insertions(+), 485 deletions(-)
 create mode 100644 lib/igt_map.c
 create mode 100644 lib/igt_map.h
 create mode 100644 lib/intel_allocator.c
 create mode 100644 lib/intel_allocator.h
 create mode 100644 lib/intel_allocator_msgchannel.c
 create mode 100644 lib/intel_allocator_msgchannel.h
 create mode 100644 lib/intel_allocator_random.c
 create mode 100644 lib/intel_allocator_reloc.c
 create mode 100644 lib/intel_allocator_simple.c
 create mode 100644 tests/i915/api_intel_allocator.c
Signature · 6 lines
2.26.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev