Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
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 v7 3/6] tests/xe_gpgpu_fill: Add offset-16x16 subtest
Date: Mon, 25 Nov 2024 09:22:55 +0100	[thread overview]
Message-ID: <20241125082258.74889-4-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20241125082258.74889-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>
Reviewed-by: 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


  parent reply	other threads:[~2024-11-25  8:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25  8:22 [PATCH i-g-t v7 0/6] GPGPU fill improvements Zbigniew Kempczyński
2024-11-25  8:22 ` [PATCH i-g-t v7 1/6] tests/xe_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-25  8:22 ` [PATCH i-g-t v7 2/6] tests/xe_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-25  8:22 ` Zbigniew Kempczyński [this message]
2024-11-25  8:22 ` [PATCH i-g-t v7 4/6] tests/gem_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-25  8:22 ` [PATCH i-g-t v7 5/6] tests/gem_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-25  8:22 ` [PATCH i-g-t v7 6/6] tests/gem_gpgpu_fill: Add offset-16x16 subtest Zbigniew Kempczyński
2024-11-25  9:50 ` ✓ Xe.CI.BAT: success for GPGPU fill improvements (rev7) Patchwork
2024-11-25 10:03 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-25 11:20 ` ✗ Xe.CI.Full: " Patchwork
2024-11-25 13:36 ` ✗ GitLab.Pipeline: warning for GPGPU fill improvements (rev8) Patchwork
2024-11-25 13:48 ` ✓ Xe.CI.BAT: success " Patchwork
2024-11-25 14:01 ` ✓ i915.CI.BAT: " Patchwork
2024-11-25 15:20 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-25 15:47 ` ✗ i915.CI.Full: " Patchwork
2024-11-26 11:52   ` Zbigniew Kempczyński

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=20241125082258.74889-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