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
Subject: [igt-dev] [PATCH i-g-t 1/2] lib/intel_batchbuffer: Add Meteorlake gpgpu fill entry
Date: Wed, 13 Sep 2023 16:24:16 +0200	[thread overview]
Message-ID: <20230913142417.584184-2-zbigniew.kempczynski@intel.com> (raw)
In-Reply-To: <20230913142417.584184-1-zbigniew.kempczynski@intel.com>

From: Arjun Melkaveri <arjun.melkaveri@intel.com>

Meteorlake is using XeHP pipeline for gpgpu fill so it must be
added first as it is an exception in newer platforms condition.

Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
---
 lib/intel_batchbuffer.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 682c0fe1d2..e7b1b755fd 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -755,7 +755,9 @@ igt_fillfunc_t igt_get_gpgpu_fillfunc(int devid)
 {
 	igt_fillfunc_t fill = NULL;
 
-	if (intel_graphics_ver(devid) >= IP_VER(12, 60))
+	if (IS_METEORLAKE(devid))
+		fill = xehp_gpgpu_fillfunc;
+	else if (intel_graphics_ver(devid) >= IP_VER(12, 60))
 		fill = xehpc_gpgpu_fillfunc;
 	else if (intel_graphics_ver(devid) >= IP_VER(12, 50))
 		fill = xehp_gpgpu_fillfunc;
-- 
2.34.1

  reply	other threads:[~2023-09-13 14:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 14:24 [igt-dev] [PATCH i-g-t 0/2] Add missing Meteorlake gpgpu fill condition Zbigniew Kempczyński
2023-09-13 14:24 ` Zbigniew Kempczyński [this message]
2023-09-13 15:59   ` [igt-dev] [PATCH i-g-t 1/2] lib/intel_batchbuffer: Add Meteorlake gpgpu fill entry Kamil Konieczny
2023-09-14  6:00     ` Zbigniew Kempczyński
2023-09-13 14:24 ` [igt-dev] [PATCH i-g-t 2/2] tests/i915_pipe_stress: Remove stack variables Zbigniew Kempczyński
2023-09-13 15:15   ` Lisovskiy, Stanislav
2023-09-13 17:58 ` [igt-dev] ✓ CI.xeBAT: success for Add missing Meteorlake gpgpu fill condition Patchwork
2023-09-13 18:01 ` [igt-dev] ✓ Fi.CI.BAT: " Patchwork
2023-09-13 21:31 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-14  6:03   ` Zbigniew Kempczyński
2023-09-14 12:14     ` Yedireswarapu, SaiX Nandan
2023-09-14 12:13 ` [igt-dev] ✓ Fi.CI.IGT: success " 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=20230913142417.584184-2-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