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 3/3] tests/xe_gpgpu_fill: Add offset-16x16 subtest
Date: Thu, 14 Nov 2024 13:06:16 +0100 [thread overview]
Message-ID: <20241114120616.70229-4-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20241114120616.70229-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/xe_gpgpu_fill.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/intel/xe_gpgpu_fill.c b/tests/intel/xe_gpgpu_fill.c
index 82625bb7c0..e1ecff8233 100644
--- a/tests/intel/xe_gpgpu_fill.c
+++ b/tests/intel/xe_gpgpu_fill.c
@@ -87,6 +87,10 @@ static void buf_check(uint8_t *ptr, int width, int x, int y, uint8_t color)
/**
* SUBTEST: basic
* Description: run gpgpu fill
+ *
+ * SUBTEST: offset-16x16
+ * Description: run gpgpu fill with <x,y> start position == <16,16>
+ *
*/
static void gpgpu_fill(data_t *data, igt_fillfunc_t fill, uint32_t region,
@@ -189,6 +193,14 @@ igt_main_args("dW:H:X:Y:", NULL, help_str, opt_handler, NULL)
surfheight / 2);
}
+ igt_subtest("offset-16x16") {
+ gpgpu_fill(&data, fill_fn, 0,
+ surfwidth, surfheight,
+ 16, 16,
+ surfwidth / 2,
+ surfheight / 2);
+ }
+
igt_fixture {
buf_ops_destroy(data.bops);
drm_close_driver(data.drm_fd);
--
2.34.1
next prev parent reply other threads:[~2024-11-14 12:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 12:06 [PATCH i-g-t 0/3] GPGPU fill improvements Zbigniew Kempczyński
2024-11-14 12:06 ` [PATCH i-g-t 1/3] tests/xe_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-14 13:33 ` Grzegorzek, Dominik
2024-11-14 12:06 ` [PATCH i-g-t 2/3] tests/xe_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-14 13:36 ` Grzegorzek, Dominik
2024-11-14 12:06 ` Zbigniew Kempczyński [this message]
2024-11-14 13:37 ` [PATCH i-g-t 3/3] tests/xe_gpgpu_fill: Add offset-16x16 subtest Grzegorzek, Dominik
2024-11-14 14:05 ` ✗ Fi.CI.BAT: failure for GPGPU fill improvements Patchwork
2024-11-14 16:12 ` Zbigniew Kempczyński
2024-11-14 14:13 ` ✓ CI.xeBAT: success " Patchwork
2024-11-15 2:35 ` ✗ CI.xeFULL: failure " Patchwork
2024-11-18 22:17 ` ✗ GitLab.Pipeline: warning for GPGPU fill improvements (rev2) Patchwork
2024-11-18 22:41 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-11-18 23:00 ` ✗ CI.xeBAT: " Patchwork
2024-11-19 9:05 ` ✗ CI.xeFULL: " Patchwork
2024-11-19 19:01 ` ✓ CI.xeBAT: success for GPGPU fill improvements (rev3) Patchwork
2024-11-19 19:17 ` ✓ Fi.CI.BAT: " Patchwork
2024-11-20 5:08 ` ✗ CI.xeFULL: failure " 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=20241114120616.70229-4-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