xref: /linux/drivers/gpu/drm/xe/xe_reg_whitelist.h (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef _XE_REG_WHITELIST_
7 #define _XE_REG_WHITELIST_
8 
9 #include <linux/types.h>
10 
11 struct drm_printer;
12 struct xe_hw_engine;
13 struct xe_reg_sr;
14 struct xe_reg_sr_entry;
15 
16 void xe_reg_whitelist_process_engine(struct xe_hw_engine *hwe);
17 
18 void xe_reg_whitelist_print_entry(struct drm_printer *p, unsigned int indent,
19 				  u32 reg, struct xe_reg_sr_entry *entry);
20 
21 void xe_reg_whitelist_dump(struct xe_reg_sr *sr, struct drm_printer *p);
22 
23 #endif
24