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 v4 3/6] tests/xe_gpgpu_fill: Add offset-16x16 subtest
Date: Thu, 21 Nov 2024 13:33:05 +0100	[thread overview]
Message-ID: <20241121123308.98158-4-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20241121123308.98158-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-21 12:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 12:33 [PATCH i-g-t v4 0/6] GPGPU fill improvements Zbigniew Kempczyński
2024-11-21 12:33 ` [PATCH i-g-t v4 1/6] tests/xe_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-21 12:33 ` [PATCH i-g-t v4 2/6] tests/xe_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-21 12:33 ` Zbigniew Kempczyński [this message]
2024-11-21 12:33 ` [PATCH i-g-t v4 4/6] tests/gem_gpgpu_fill: Add command line switch to dump the surface Zbigniew Kempczyński
2024-11-21 15:07   ` Grzegorzek, Dominik
2024-11-21 12:33 ` [PATCH i-g-t v4 5/6] tests/gem_gpgpu_fill: Add width/height/x/y command line args Zbigniew Kempczyński
2024-11-21 15:15   ` Grzegorzek, Dominik
2024-11-22  7:09     ` Zbigniew Kempczyński
2024-11-21 12:33 ` [PATCH i-g-t v4 6/6] tests/gem_gpgpu_fill: Add offset-16x16 subtest Zbigniew Kempczyński
2024-11-21 15:28   ` Grzegorzek, Dominik
2024-11-22  7:12     ` Zbigniew Kempczyński
2024-11-21 15:49 ` ✓ Xe.CI.BAT: success for GPGPU fill improvements (rev4) Patchwork
2024-11-21 16:05 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-21 21:19 ` ✓ Xe.CI.BAT: success for GPGPU fill improvements (rev5) Patchwork
2024-11-21 21:33 ` ✗ i915.CI.BAT: failure " Patchwork
2024-11-22  7:06   ` Zbigniew Kempczyński
2024-11-21 23:25 ` ✗ Xe.CI.Full: failure for GPGPU fill improvements (rev4) Patchwork
2024-11-22  9:12 ` ✗ Xe.CI.Full: failure for GPGPU fill improvements (rev5) 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=20241121123308.98158-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