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