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

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
v3: fix xmajor stride + make helpers public
v4: use original width/height on filename write to png,
    extend fast-copy with different sizes test
v5: address review comments (Karolina)

Zbigniew Kempczyński (5):
  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
  tests/xe_exercise_blt: Exercise small to large fast-copy blits

 lib/intel_blt.c                |  90 +++++++++++++++++-
 lib/intel_blt.h                |   6 +-
 tests/intel/gem_ccs.c          |  23 ++---
 tests/intel/gem_exercise_blt.c |  16 ++--
 tests/intel/xe_ccs.c           | 166 ++++++++++++++++++++++++---------
 tests/intel/xe_exercise_blt.c  |  78 ++++++++++++----
 6 files changed, 292 insertions(+), 87 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-02-08 20:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 20:03 [PATCH i-g-t v5 0/5] Fill block-copy test gap for unaligned sizes Zbigniew Kempczyński
2024-02-01 20:03 ` [PATCH i-g-t v5 1/5] lib/intel_blt: Add helpers for calculating stride and aligned height Zbigniew Kempczyński
2024-02-01 20:03 ` [PATCH i-g-t v5 2/5] lib/intel_blt: Change surface size calculation Zbigniew Kempczyński
2024-02-01 20:03 ` [PATCH i-g-t v5 3/5] lib/intel_blt: Use object pitch and aligned height on png write Zbigniew Kempczyński
2024-02-01 20:03 ` [PATCH i-g-t v5 4/5] tests/xe-ccs: Add tests which exercise small to large blit sizes Zbigniew Kempczyński
     [not found]   ` <PH0PR11MB5782325F4FBA9144C4BA08A482432@PH0PR11MB5782.namprd11.prod.outlook.com>
2024-02-02  6:49     ` FW: " Jahagirdar, Akshata
2024-02-01 20:03 ` [PATCH i-g-t v5 5/5] tests/xe_exercise_blt: Exercise small to large fast-copy blits Zbigniew Kempczyński
2024-02-08 18:23   ` Kamil Konieczny
2024-02-08 20:15     ` Zbigniew Kempczyński
2024-02-01 23:19 ` ✗ CI.xeBAT: failure for Fill block-copy test gap for unaligned sizes (rev5) Patchwork
2024-02-01 23:22 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-02  3:34 ` ✓ Fi.CI.IGT: " Patchwork

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