summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/tests/xe_rtp_test.h
blob: 26becc1e2af04567bb958908d53cfad7e7a1a9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0 AND MIT */
/*
 * Copyright © 2026 Intel Corporation
 */

#ifndef _XE_RTP_TEST_H_
#define _XE_RTP_TEST_H_

#include <linux/types.h>

struct xe_device;
struct xe_gt;
struct xe_hw_engine;
struct xe_rtp_rule;

bool xe_rtp_rule_matches(const struct xe_device *xe,
			 struct xe_gt *gt,
			 struct xe_hw_engine *hwe,
			 const struct xe_rtp_rule *rules,
			 unsigned int n_rules,
			 int *err);

#endif