1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2014-2018 Intel Corporation
5  */
6 
7 #ifndef __INTEL_WORKAROUNDS_TYPES_H__
8 #define __INTEL_WORKAROUNDS_TYPES_H__
9 
10 #include <linux/types.h>
11 
12 #include "i915_reg.h"
13 
14 struct i915_wa {
15 	i915_reg_t	reg;
16 	u32		clr;
17 	u32		set;
18 	u32		read;
19 };
20 
21 struct i915_wa_list {
22 	const char	*name;
23 	const char	*engine_name;
24 	struct i915_wa	*list;
25 	unsigned int	count;
26 	unsigned int	wa_count;
27 };
28 
29 #endif /* __INTEL_WORKAROUNDS_TYPES_H__ */
30