xref: /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/intel_workarounds_types.h (revision 41ec02673d281bbb3d38e6c78504ce6e30c228c1)
1 /*	$NetBSD: intel_workarounds_types.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $	*/
2 
3 /*
4  * SPDX-License-Identifier: MIT
5  *
6  * Copyright © 2014-2018 Intel Corporation
7  */
8 
9 #ifndef __INTEL_WORKAROUNDS_TYPES_H__
10 #define __INTEL_WORKAROUNDS_TYPES_H__
11 
12 #include <linux/types.h>
13 
14 #include "i915_reg.h"
15 
16 struct i915_wa {
17 	i915_reg_t	reg;
18 	u32		mask;
19 	u32		val;
20 	u32		read;
21 };
22 
23 struct i915_wa_list {
24 	const char	*name;
25 	const char	*engine_name;
26 	struct i915_wa	*list;
27 	unsigned int	count;
28 	unsigned int	wa_count;
29 };
30 
31 #endif /* __INTEL_WORKAROUNDS_TYPES_H__ */
32