summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJanga Rahul Kumar <janga.rahul.kumar@intel.com>2024-01-17 02:57:55 +0530
committerJanga Rahul Kumar <janga.rahul.kumar@intel.com>2024-01-17 15:48:17 +0530
commita12da76da755c19b633abe33cf63368f5dbd2739 (patch)
tree4b2b0e69fc65f1d7500a21f85b13cdd0205ef2f2 /include
parente5bad84bd34afffa245a8bf707eecc3d75a54e76 (diff)
lib/intel_compute: Add LNL compute preempt library support
Add STATE_SIP instruction in compute pipeline. Add library support to submit long and short opencl kernels to exercise preemption scenario. Cc: Nirmoy Das <nirmoy.das@intel.com> Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/intel_gpu_commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/intel_gpu_commands.h b/include/intel_gpu_commands.h
index 5a98fb63f..fe734c4bb 100644
--- a/include/intel_gpu_commands.h
+++ b/include/intel_gpu_commands.h
@@ -441,6 +441,8 @@
#define GSC_FW_LOAD GSC_INSTR(1, 0, 2)
#define HECI1_FW_LIMIT_VALID (1 << 31)
+#define XE2_STATE_SIP \
+ ((0x3 << 29) | (0x0 << 27) | (0x1 << 24) | (0x1 << 17))
/*
* Used to convert any address to canonical form.
* Starting from gen8, some commands (e.g. STATE_BASE_ADDRESS,