xref: /linux/drivers/gpu/drm/xe/tests/xe_rtp_test.h (revision bba2c3615bd6cfee7456d1130f2e6b01b3f4e9ba)
1 /* SPDX-License-Identifier: GPL-2.0 AND MIT */
2 /*
3  * Copyright © 2026 Intel Corporation
4  */
5 
6 #ifndef _XE_RTP_TEST_H_
7 #define _XE_RTP_TEST_H_
8 
9 #include <linux/types.h>
10 
11 struct xe_device;
12 struct xe_gt;
13 struct xe_hw_engine;
14 struct xe_rtp_rule;
15 
16 bool xe_rtp_rule_matches(const struct xe_device *xe,
17 			 struct xe_gt *gt,
18 			 struct xe_hw_engine *hwe,
19 			 const struct xe_rtp_rule *rules,
20 			 unsigned int n_rules,
21 			 int *err);
22 
23 #endif
24