Home | History | Annotate | Line # | Download | only in gt
      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