Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] lib/gpgpu_shader: Fix iga64 compilation warning
@ 2024-08-21 11:04 Dominik Grzegorzek
  2024-08-21 11:04 ` [PATCH i-g-t 2/2] lib/gpgpu_shader: Fix write dword shader Dominik Grzegorzek
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Dominik Grzegorzek @ 2024-08-21 11:04 UTC (permalink / raw)
  To: igt-dev; +Cc: Dominik Grzegorzek, Andrzej Hajda

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


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-22 12:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 11:04 [PATCH i-g-t 1/2] lib/gpgpu_shader: Fix iga64 compilation warning Dominik Grzegorzek
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox