[igt-dev] [PATCH i-g-t 0/2] lib/i915_blt: Minor blt_create_object refactoring

Karolina Stolarek karolina.stolarek at intel.com
Mon Jan 23 10:52:41 UTC 2023


The series consists of two patches. The first one removes
"create_mapping" param  in blt_create_object() param that seems
to not be used by the tests. The second one attempts to slightly
split up the creation of copy objects for fast and block copy.
Fast copy doesn't provide compression-backed copy, so we shouldn't
have to pass compression information when creating an object.

Karolina Stolarek (2):
  lib/i915_blt: Remove create_mapping flag from blt_create_object
  lib/i915_blt: Split up blt_copy_object functions

 lib/i915/i915_blt.c            | 94 ++++++++++++++++++++++++----------
 lib/i915/i915_blt.h            | 30 ++++++-----
 tests/i915/gem_ccs.c           | 39 +++++++-------
 tests/i915/gem_exercise_blt.c  | 18 +++----
 tests/i915/gem_lmem_swapping.c | 13 ++---
 5 files changed, 117 insertions(+), 77 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list