Skip to content

Simplify working on tiled surfaces over GenX

Zbigniew Kempczyński igt-dev 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest5 patches 0 repliesNew
  2. v84 patches 3 repliesSuperseded
  3. v75 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v64 patches0 repliesSuperseded
v53 patches4 repliesSuperseded
v43 patches1 replySuperseded
v22 patches5 repliesSuperseded

Changes in v9 from the cover letter

- resending with HAX commit

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib/intel_bufops: Introduce buffer operationsdocs/reference/igt-gpu-tools/igt-gpu-tools-docs.xml lib/Makefile.sources lib/intel_bufops.c +2 more+1256 -00 replies
2/5lib/intel_batchbuffer: Add CCS width/height functions for Intel igt_buflib/intel_batchbuffer.c lib/intel_batchbuffer.h+49 -00 replies
3/5lib/rendercopy_bufmgr: Add rendercopy buffer managerlib/Makefile.sources lib/meson.build lib/rendercopy_bufmgr.c +1 more+206 -00 replies
4/5i915/gem_render_copy.c: Simplify code by switch to rendercopy bufmgrtests/i915/gem_render_copy.c+117 -3060 replies
5/5HAX: run gem_render_copy tests in BATtests/intel-ci/fast-feedback.testlist+38 -00 replies

Reviews trailers per patch

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

Read the v9 thread

Cover letter [igt-dev] [PATCH i-g-t v9 0/5] Simplify working on tiled surfaces over GenX

Different GenX support different tiling formats and HW capabilities to copy linear surface on CPU from/to tiled one on GPU. Developing tests which have to be aware of all tiling HW details is a little bit cumbersome. Following patches extend IGT:

1. intel_bufops - core tiling surface code which is independent on libdrm,
2. rendercopy_bufmgr - glue between libdrm and intel_bufops, necessary due to current render_copy code is heavily coupled with libdrm.

As CI doesn't have Gen2 I couldn't add and test software tiling code on that generation. For that single case hardware tiling is enforced and switch to software fallback is not possible.

For generations which supports hardware tiling bufops does idempotency test which should reveal is surface equal regardless using hardware or software copying method.

v6:
- rename igt_buf_ccs_width/height to igt_buf_intel_ccs_width/height pointing ccs field in igt_buf is vendor dependent.
- fixing code compilation dependency and order.

v7:
- fixing support CCS data for vebox copy
- adding support for copying CCS data to/from linear

v8:
- removing HAX commit

v9:
- resending with HAX commit

Cc Chris Wilson <[email protected]>
Cc Katarzyna Dec <[email protected]>

Zbigniew Kempczyński (5):
lib/intel_bufops: Introduce buffer operations lib/intel_batchbuffer: Add CCS width/height functions for Intel
igt_buf
lib/rendercopy_bufmgr: Add rendercopy buffer manager i915/gem_render_copy.c: Simplify code by switch to rendercopy bufmgr
HAX: run gem_render_copy tests in BAT

 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    1 +
 lib/Makefile.sources                          |    4 +
 lib/intel_batchbuffer.c                       |   47 +
 lib/intel_batchbuffer.h                       |    2 +
 lib/intel_bufops.c                            | 1168 +++++++++++++++++
 lib/intel_bufops.h                            |   84 ++
 lib/meson.build                               |    2 +
 lib/rendercopy_bufmgr.c                       |  175 +++
 lib/rendercopy_bufmgr.h                       |   28 +
 tests/i915/gem_render_copy.c                  |  423 ++----
 tests/intel-ci/fast-feedback.testlist         |   38 +
 11 files changed, 1666 insertions(+), 306 deletions(-)
 create mode 100644 lib/intel_bufops.c
 create mode 100644 lib/intel_bufops.h
 create mode 100644 lib/rendercopy_bufmgr.c
 create mode 100644 lib/rendercopy_bufmgr.h
Signature · 6 lines
2.23.0

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