• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_defs.h"
12 
13 struct i915_wa {
14 	i915_reg_t	reg;
15 	u32		clr;
16 	u32		set;
17 	u32		read;
18 	bool		masked_reg;
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