summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_ring_ops_types.h
blob: 1ae56e2ee7b460484753658dddcaac66e6c2c338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _XE_RING_OPS_TYPES_H_
#define _XE_RING_OPS_TYPES_H_

struct xe_sched_job;

#define MAX_JOB_SIZE_DW 48
#define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4)

/**
 * struct xe_ring_ops - Ring operations
 */
struct xe_ring_ops {
	/** @emit_job: Write job to ring */
	void (*emit_job)(struct xe_sched_job *job);
};

#endif