From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t v2 0/4] Fill block-copy test gap for unaligned sizes
Date: Wed, 31 Jan 2024 14:25:54 +0100 [thread overview]
Message-ID: <20240131132558.208971-1-zbigniew.kempczynski@intel.com> (raw)
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)
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 | 83 +++++++++++++++-
lib/intel_blt.h | 2 +-
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, 233 insertions(+), 74 deletions(-)
--
2.34.1
next reply other threads:[~2024-01-31 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 13:25 Zbigniew Kempczyński [this message]
2024-01-31 13:25 ` [PATCH i-g-t v2 1/4] lib/intel_blt: Add helpers for calculating stride and aligned height Zbigniew Kempczyński
2024-01-31 13:25 ` [PATCH i-g-t v2 2/4] lib/intel_blt: Change surface size calculation Zbigniew Kempczyński
2024-01-31 13:25 ` [PATCH i-g-t v2 3/4] lib/intel_blt: Use object pitch and aligned height on png write Zbigniew Kempczyński
2024-01-31 13:25 ` [PATCH i-g-t v2 4/4] tests/xe-ccs: Add tests which exercise small to large blit sizes Zbigniew Kempczyński
2024-01-31 15:01 ` ✓ Fi.CI.BAT: success for Fill block-copy test gap for unaligned sizes (rev2) Patchwork
2024-01-31 15:24 ` ✗ CI.xeBAT: failure " Patchwork
2024-01-31 17:10 ` ✗ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240131132558.208971-1-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox