[RFC PATCH 3/8] drm/xe: Add ULLS flags for jobs
Matthew Brost
matthew.brost at intel.com
Mon Aug 12 02:47:12 UTC 2024
Will help communicate to submission backend and ring ops job is ULLS.
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
---
drivers/gpu/drm/xe/xe_sched_job_types.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_sched_job_types.h b/drivers/gpu/drm/xe/xe_sched_job_types.h
index 0d3f76fb05ce..916e87158b7e 100644
--- a/drivers/gpu/drm/xe/xe_sched_job_types.h
+++ b/drivers/gpu/drm/xe/xe_sched_job_types.h
@@ -41,6 +41,9 @@ struct xe_sched_job {
* can safely reference fence, fence cannot safely reference job.
*/
#define JOB_FLAG_SUBMIT DMA_FENCE_FLAG_USER_BITS
+#define JOB_FLAG_ULLS (DMA_FENCE_FLAG_USER_BITS << 1)
+#define JOB_FLAG_ULLS_FIRST (DMA_FENCE_FLAG_USER_BITS << 2)
+#define JOB_FLAG_ULLS_LAST (DMA_FENCE_FLAG_USER_BITS << 3)
struct dma_fence *fence;
/** @user_fence: write back value when BB is complete */
struct {
--
2.34.1
More information about the Intel-xe
mailing list