Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3 0/4] Fill block-copy test gap for unaligned sizes
@ 2024-02-01  9:22 Zbigniew Kempczyński
  2024-02-01  9:22 ` [PATCH i-g-t v3 1/4] lib/intel_blt: Add helpers for calculating stride and aligned height Zbigniew Kempczyński
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Zbigniew Kempczyński @ 2024-02-01  9:22 UTC (permalink / raw)
  To: igt-dev

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.

v2: fix handling Tile64 what also requires bpp in dumping to
    png as helper for aligned height depend on it (Zbigniew)
v3: fix xmajor stride + make helpers public (Zbigniew)

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

 lib/intel_blt.c                |  84 ++++++++++++++++-
 lib/intel_blt.h                |   6 +-
 tests/intel/gem_ccs.c          |  23 ++---
 tests/intel/gem_exercise_blt.c |  16 ++--
 tests/intel/xe_ccs.c           | 167 ++++++++++++++++++++++++---------
 tests/intel/xe_exercise_blt.c  |  16 ++--
 6 files changed, 238 insertions(+), 74 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-01 11:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01  9:22 [PATCH i-g-t v3 0/4] Fill block-copy test gap for unaligned sizes Zbigniew Kempczyński
2024-02-01  9:22 ` [PATCH i-g-t v3 1/4] lib/intel_blt: Add helpers for calculating stride and aligned height Zbigniew Kempczyński
2024-02-01  9:22 ` [PATCH i-g-t v3 2/4] lib/intel_blt: Change surface size calculation Zbigniew Kempczyński
2024-02-01  9:22 ` [PATCH i-g-t v3 3/4] lib/intel_blt: Use object pitch and aligned height on png write Zbigniew Kempczyński
2024-02-01  9:22 ` [PATCH i-g-t v3 4/4] tests/xe-ccs: Add tests which exercise small to large blit sizes Zbigniew Kempczyński
2024-02-01 10:19 ` ✓ Fi.CI.BAT: success for Fill block-copy test gap for unaligned sizes (rev3) Patchwork
2024-02-01 10:39 ` ✓ CI.xeBAT: " Patchwork
2024-02-01 11:37 ` ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox