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