Extend intel_blt to work on Xe
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest21 patches 14 repliesIn review
- v317 patches 17 repliesSuperseded
- v216 patches 27 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 12 patches | 10 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | lib/intel_blt: Add blt_ctrl_surf_object() helperlib/ lib/ | +14 | 1 reply | |
| 2/21 | tests/gem_ccs: Drop local function for setting ctrl surface objecttests/ | +10 | 1 reply | |
| 3/21 | lib/intel_blt: Add dump of two surfaces comparison in 8x8 blockslib/ lib/ | +66 | 1 reply | |
| 4/21 | tests/gem_ccs: Use global image dump comparison functiontests/ | +1 | 1 reply | |
| 5/21 | tests/api_intel_allocator: Don't use allocator ahnd aliasing apitests/ | +8 | 0 replies | |
| 6/21 | lib/intel_allocator: Drop aliasing allocator handle apilib/ lib/ lib/ | +1 | 0 replies | |
| 7/21 | lib/intel_allocator: Remove extensive debugginglib/ | +0 | 0 replies | |
| 8/21 | lib/xe_ioctl: Export non-assert xe_exec functionlib/ lib/ | +2 | 0 replies | |
| 9/21 | lib/xe_query: Use vramN when returning string region namelib/ | +2 | 0 replies | |
| 10/21 | lib/xe_query: Add xe_region_class() helperlib/ lib/ | +17 | 0 replies | |
| 11/21 | lib/drmtest: Add get_intel_driver() helperlib/ lib/ | +11 | 0 replies | |
| 12/21 | lib/xe_util: Return dynamic subtest name for Xelib/ lib/ lib/ | +136 | 0 replies | |
| 13/21 | lib/xe_util: Add vm bind/unbind helper for Xelib/ lib/ | +142 | 2 replies | |
| 14/21 | lib/intel_allocator: Add intel_allocator_bind()lib/ lib/ lib/ | +265 | 1 reply | |
| 15/21 | lib/intel_ctx: Add xe context informationlib/ lib/ | +111 | 1 reply | |
| 16/21 | lib/intel_blt: Introduce blt_copy_init() helper to cache driverlib/ lib/ lib/ +3 more | +78 | 0 replies | |
| 17/21 | lib/intel_blt: Extend blitter library to support xe driverlib/ lib/ | +149 | 1 reply | |
| 18/21 | tests/xe_ccs: Check if flatccs is working with block-copy for Xetests/ tests/ | +699 | 1 reply | |
| 19/21 | tests/xe_exercise_blt: Check blitter library fast-copy for Xetests/ tests/ | +378 | 2 replies | |
| 20/21 | tests/api-intel-allocator: Adopt to exercise allocator to Xetests/ | +17 | 0 replies | |
| 21/21 | tests/gem_ccs: Avoid writing png twicetests/ | +0 | 0 replies |
Reviews trailers per patch
20 of 21 patches have a Reviewed-by or Acked-by.
| Patch | Karolina Stolarek |
|---|---|
| 1/21 | R-b |
| 2/21 | R-b |
| 3/21 | R-b |
| 4/21 | R-b |
| 5/21 | R-b |
| 6/21 | R-b |
| 7/21 | R-b |
| 8/21 | R-b |
| 9/21 | R-b |
| 10/21 | R-b |
| 11/21 | R-b |
| 12/21 | R-b |
| 13/21 | R-b |
| 14/21 | R-b |
| 15/21 | |
| 16/21 | R-b |
| 17/21 | R-b |
| 18/21 | R-b |
| 19/21 | R-b |
| 20/21 | R-b |
| 21/21 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [igt-dev] [PATCH i-g-t v4 00/21] Extend intel_blt to work on Xe
Blitter library currently supports block-copy, ctrl-surf-copy and fast-copy on i915. Lets extend this to xe as most of the code is driver independent.
v2: Rewrite tracking allocator calls alloc()/free() to handle
multiprocess/multithreaded scenarios. api_intel_allocator now supports both drivers (i915 and xe).
v3: Address review comments (Karolina)
v4: Address review comments + globalize common code (Karolina)
Zbigniew Kempczyński (21):
lib/intel_blt: Add blt_ctrl_surf_object() helper tests/gem_ccs: Drop local function for setting ctrl surface object lib/intel_blt: Add dump of two surfaces comparison in 8x8 blocks tests/gem_ccs: Use global image dump comparison function tests/api_intel_allocator: Don't use allocator ahnd aliasing api lib/intel_allocator: Drop aliasing allocator handle api lib/intel_allocator: Remove extensive debugging lib/xe_ioctl: Export non-assert xe_exec function lib/xe_query: Use vramN when returning string region name lib/xe_query: Add xe_region_class() helper
lib/drmtest: Add get_intel_driver() helper
lib/xe_util: Return dynamic subtest name for Xe lib/xe_util: Add vm bind/unbind helper for Xe lib/intel_allocator: Add intel_allocator_bind() lib/intel_ctx: Add xe context information lib/intel_blt: Introduce blt_copy_init() helper to cache driver lib/intel_blt: Extend blitter library to support xe driver tests/xe_ccs: Check if flatccs is working with block-copy for Xe tests/xe_exercise_blt: Check blitter library fast-copy for Xe tests/api-intel-allocator: Adopt to exercise allocator to Xe tests/gem_ccs: Avoid writing png twice
lib/drmtest.c | 10 + lib/drmtest.h | 1 + lib/igt_core.c | 5 + lib/igt_fb.c | 2 +- lib/intel_allocator.c | 341 +++++++++++---- lib/intel_allocator.h | 4 +- lib/intel_allocator_msgchannel.h | 8 +- lib/intel_blt.c | 344 +++++++++++---- lib/intel_blt.h | 15 +- lib/intel_ctx.c | 98 ++++- lib/intel_ctx.h | 14 + lib/meson.build | 3 +- lib/xe/xe_ioctl.c | 2 +- lib/xe/xe_ioctl.h | 1 + lib/xe/xe_query.c | 20 +- lib/xe/xe_query.h | 1 + lib/xe/xe_util.c | 229 ++++++++++ lib/xe/xe_util.h | 47 +++ tests/i915/api_intel_allocator.c | 46 +- tests/i915/gem_ccs.c | 116 ++--- tests/i915/gem_exercise_blt.c | 22 +- tests/i915/gem_lmem_swapping.c | 4 +- tests/meson.build | 2 + tests/xe/xe_ccs.c | 698 +++++++++++++++++++++++++++++++ tests/xe/xe_exercise_blt.c | 377 +++++++++++++++++ 25 files changed, 2105 insertions(+), 305 deletions(-) create mode 100644 lib/xe/xe_util.c create mode 100644 lib/xe/xe_util.h create mode 100644 tests/xe/xe_ccs.c create mode 100644 tests/xe/xe_exercise_blt.c
Signature · 1 line
2.34.1