summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_reg_whitelist.h
blob: 69b121d377da00267079157353497cfd2a3a0221 (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: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_REG_WHITELIST_
#define _XE_REG_WHITELIST_

#include <linux/types.h>

struct drm_printer;
struct xe_hw_engine;
struct xe_reg_sr;
struct xe_reg_sr_entry;

void xe_reg_whitelist_process_engine(struct xe_hw_engine *hwe);

void xe_reg_whitelist_print_entry(struct drm_printer *p, unsigned int indent,
				  u32 reg, struct xe_reg_sr_entry *entry);

void xe_reg_whitelist_dump(struct xe_reg_sr *sr, struct drm_printer *p);

#endif