From: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
"Dominik Grzegorzek" <dominik.grzegorzek@intel.com>
Subject: [PATCH i-g-t v6 6/6] tests/gem_gpgpu_fill: Add offset-16x16 subtest
Date: Fri, 22 Nov 2024 08:29:04 +0100 [thread overview]
Message-ID: <20241122072904.164247-7-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20241122072904.164247-1-zbigniew.kempczynski@intel.com>
Add subtest which verifies rectangle filled by pattern starts at
offset <x,y> == <16,16>.
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
---
tests/intel/gem_gpgpu_fill.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/intel/gem_gpgpu_fill.c b/tests/intel/gem_gpgpu_fill.c
index ec34e95844..961e075d08 100644
--- a/tests/intel/gem_gpgpu_fill.c
+++ b/tests/intel/gem_gpgpu_fill.c
@@ -58,6 +58,10 @@
* Feature: compute
*
* SUBTEST: basic
+ * Description: run gpgpu fill
+ *
+ * SUBTEST: offset-16x16
+ * Description: run gpgpu fill with <x,y> start position == <16,16>
*/
#define WIDTH 64
@@ -239,6 +243,14 @@ igt_main_args("dW:H:X:Y:", NULL, help_str, opt_handler, NULL)
}
}
+ igt_subtest("offset-16x16") {
+ gpgpu_fill(&data, fill_fn, 0,
+ surfwidth, surfheight,
+ 16, 16,
+ surfwidth / 2,
+ surfheight / 2);
+ }
+
igt_fixture {
igt_collection_destroy(region_set);
free(region_info);
--
2.34.1
next prev parent reply other threads:[~2024-11-22 7:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-22 7:28 [PATCH i-g-t v6 0/6] GPGPU fill improvements Zbigniew Kempczyński
2024-11-22 7:28 ` [PATCH i-g-t v6 1/6] tests/xe_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-22 7:29 ` [PATCH i-g-t v6 2/6] tests/xe_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-22 7:29 ` [PATCH i-g-t v6 3/6] tests/xe_gpgpu_fill: Add offset-16x16 subtest Zbigniew Kempczyński
2024-11-22 7:29 ` [PATCH i-g-t v6 4/6] tests/gem_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-22 7:29 ` [PATCH i-g-t v6 5/6] tests/gem_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-22 7:29 ` Zbigniew Kempczyński [this message]
2024-11-22 7:50 ` [PATCH i-g-t v6 6/6] tests/gem_gpgpu_fill: Add offset-16x16 subtest Grzegorzek, Dominik
2024-11-22 8:08 ` ✓ Xe.CI.BAT: success for GPGPU fill improvements (rev6) Patchwork
2024-11-22 8:22 ` ✓ i915.CI.BAT: " Patchwork
2024-11-22 23:54 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-24 15:18 ` ✗ i915.CI.Full: " 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=20241122072904.164247-7-zbigniew.kempczynski@intel.com \
--to=zbigniew.kempczynski@intel.com \
--cc=dominik.grzegorzek@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