[PATCH i-g-t 1/2] include/intel_gpu_commands: Add persistent batch buffer instruction.

sai.gowtham.ch at intel.com sai.gowtham.ch at intel.com
Fri Dec 22 10:53:52 UTC 2023


From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>

Add persistent batct buffer instruction.

Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
---
 include/intel_gpu_commands.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/intel_gpu_commands.h b/include/intel_gpu_commands.h
index e10507fa7..5a98fb63f 100644
--- a/include/intel_gpu_commands.h
+++ b/include/intel_gpu_commands.h
@@ -134,6 +134,7 @@
 #define MI_STORE_DWORD_IMM	MI_INSTR(0x20, 1)
 #define MI_STORE_DWORD_IMM_GEN4	MI_INSTR(0x20, 2)
 #define MI_STORE_QWORD_IMM_GEN8 (MI_INSTR(0x20, 3) | REG_BIT(21))
+#define MI_PRT_BATCH_BUFFER_START (0x39 << 23)
 #define   MI_MEM_VIRTUAL	(1 << 22) /* 945,g33,965 */
 #define   MI_USE_GGTT		(1 << 22) /* g4x+ */
 #define MI_STORE_DWORD_INDEX	MI_INSTR(0x21, 1)
-- 
2.39.1



More information about the igt-dev mailing list