1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6 #ifndef _XE_RING_OPS_TYPES_H_ 7 #define _XE_RING_OPS_TYPES_H_ 8 9 struct xe_sched_job; 10 11 #define MAX_JOB_SIZE_DW 48 12 #define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4) 13 14 /** 15 * struct xe_ring_ops - Ring operations 16 */ 17 struct xe_ring_ops { 18 /** @emit_job: Write job to ring */ 19 void (*emit_job)(struct xe_sched_job *job); 20 }; 21 22 #endif 23