[PATCH i-g-t 0/4] Fill block-copy test gap for unaligned sizes

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Jan 31 10:51:44 UTC 2024


Using 512x512 resolution for testing is too optimistic and hides intel_blt
limitation for using different (smaller) resolutions which also might
not be aligned to expected stride and height.

Address this by adding few helpers, change blt buffer creation size
calculation and add "increment" version of the test in xe_ccs.

Zbigniew Kempczyński (4):
  lib/intel_blt: Use object pitch and aligned height on png write
  lib/intel_blt: Add helpers for calculating stride and aligned height
  lib/intel_blt: Change surface size calculation
  tests/xe-ccs: Add tests which exercise small to large blit sizes

 lib/intel_blt.c      |  69 ++++++++++++++++++++-
 tests/intel/xe_ccs.c | 144 +++++++++++++++++++++++++++++++++----------
 2 files changed, 179 insertions(+), 34 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list