From: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com>,
Andrzej Hajda <andrzej.hajda@intel.com>
Subject: [PATCH i-g-t 1/2] lib/gpgpu_shader: Fix iga64 compilation warning
Date: Wed, 21 Aug 2024 13:04:15 +0200 [thread overview]
Message-ID: <20240821110416.366243-1-dominik.grzegorzek@intel.com> (raw)
Fix src1_null macro definition to match platforms which are mentioned in
the comment above the declaration. (DG2+)
Fixes:
iga64 -Xauto-deps -Wall -p=12p71 lib/iga64_generated_codes.c.d/iga64_assembly_eot.12p71.asm
line 2.37: warning: Src1.Length should suffix src1 register (e.g. r10:4)
(W) send.gtwy (8|M0) null r112 null 0 0x02000000 {EOT}
^
Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
---
lib/iga64_macros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/iga64_macros.h b/lib/iga64_macros.h
index f4ef5cb16..03cc726d4 100644
--- a/lib/iga64_macros.h
+++ b/lib/iga64_macros.h
@@ -7,7 +7,7 @@
#define IGA64_MACROS_H
/* send instruction for DG2+ requires 0 length in case src1 is null, BSpec: 47443 */
-#if GEN_VER < 1271
+#if GEN_VER <= 1250
#define src1_null null
#else
#define src1_null null:0
--
2.34.1
next reply other threads:[~2024-08-21 11:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 11:04 Dominik Grzegorzek [this message]
2024-08-21 11:04 ` [PATCH i-g-t 2/2] lib/gpgpu_shader: Fix write dword shader Dominik Grzegorzek
2024-08-21 18:30 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] lib/gpgpu_shader: Fix iga64 compilation warning Patchwork
2024-08-21 18:40 ` ✓ CI.xeBAT: " Patchwork
2024-08-22 0:44 ` ✗ CI.xeFULL: failure " Patchwork
2024-08-22 12:29 ` Grzegorzek, Dominik
2024-08-22 0:58 ` ✗ Fi.CI.IGT: " Patchwork
2024-08-22 12:53 ` Grzegorzek, Dominik
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=20240821110416.366243-1-dominik.grzegorzek@intel.com \
--to=dominik.grzegorzek@intel.com \
--cc=andrzej.hajda@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