Skip to content

Extend intel_blt to work on Xe

Zbigniew Kempczyński igt-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest21 patches 14 repliesIn review
  2. v317 patches 17 repliesSuperseded
  3. v216 patches 27 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v112 patches10 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21lib/intel_blt: Add blt_ctrl_surf_object() helperlib/intel_blt.c lib/intel_blt.h+14 -01 reply
2/21tests/gem_ccs: Drop local function for setting ctrl surface objecttests/i915/gem_ccs.c+10 -211 reply
3/21lib/intel_blt: Add dump of two surfaces comparison in 8x8 blockslib/intel_blt.c lib/intel_blt.h+66 -01 reply
4/21tests/gem_ccs: Use global image dump comparison functiontests/i915/gem_ccs.c+1 -491 reply
5/21tests/api_intel_allocator: Don't use allocator ahnd aliasing apitests/i915/api_intel_allocator.c+8 -130 replies
6/21lib/intel_allocator: Drop aliasing allocator handle apilib/intel_allocator.c lib/intel_allocator.h lib/intel_allocator_msgchannel.h+1 -810 replies
7/21lib/intel_allocator: Remove extensive debugginglib/intel_allocator.c+0 -90 replies
8/21lib/xe_ioctl: Export non-assert xe_exec functionlib/xe/xe_ioctl.c lib/xe/xe_ioctl.h+2 -10 replies
9/21lib/xe_query: Use vramN when returning string region namelib/xe/xe_query.c+2 -20 replies
10/21lib/xe_query: Add xe_region_class() helperlib/xe/xe_query.c lib/xe/xe_query.h+17 -00 replies
11/21lib/drmtest: Add get_intel_driver() helperlib/drmtest.c lib/drmtest.h+11 -00 replies
12/21lib/xe_util: Return dynamic subtest name for Xelib/meson.build lib/xe/xe_util.c lib/xe/xe_util.h+136 -10 replies
13/21lib/xe_util: Add vm bind/unbind helper for Xelib/xe/xe_util.c lib/xe/xe_util.h+142 -02 replies
14/21lib/intel_allocator: Add intel_allocator_bind()lib/igt_core.c lib/intel_allocator.c lib/intel_allocator.h+265 -21 reply
15/21lib/intel_ctx: Add xe context informationlib/intel_ctx.c lib/intel_ctx.h+111 -11 reply
16/21lib/intel_blt: Introduce blt_copy_init() helper to cache driverlib/igt_fb.c lib/intel_blt.c lib/intel_blt.h +3 more+78 -320 replies
17/21lib/intel_blt: Extend blitter library to support xe driverlib/intel_blt.c lib/intel_blt.h+149 -861 reply
18/21tests/xe_ccs: Check if flatccs is working with block-copy for Xetests/meson.build tests/xe/xe_ccs.c+699 -01 reply
19/21tests/xe_exercise_blt: Check blitter library fast-copy for Xetests/meson.build tests/xe/xe_exercise_blt.c+378 -02 replies
20/21tests/api-intel-allocator: Adopt to exercise allocator to Xetests/i915/api_intel_allocator.c+17 -80 replies
21/21tests/gem_ccs: Avoid writing png twicetests/i915/gem_ccs.c+0 -10 replies

Reviews trailers per patch

20 of 21 patches have a Reviewed-by or Acked-by.

PatchKarolina Stolarek
1/21R-b
2/21R-b
3/21R-b
4/21R-b
5/21R-b
6/21R-b
7/21R-b
8/21R-b
9/21R-b
10/21R-b
11/21R-b
12/21R-b
13/21R-b
14/21R-b
15/21
16/21R-b
17/21R-b
18/21R-b
19/21R-b
20/21R-b
21/21R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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