Merge tag 'drm-intel-next-2019-05-24' of git://anongit.freedesktop.org/drm/drm-intel...
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / gt / intel_workarounds_types.h
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             mask;
17         u32             val;
18         u32             read;
19 };
20
21 struct i915_wa_list {
22         const char      *name;
23         struct i915_wa  *list;
24         unsigned int    count;
25         unsigned int    wa_count;
26 };
27
28 #endif /* __INTEL_WORKAROUNDS_TYPES_H__ */