]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/gpu/drm/i915/gt/intel_rc6_types.h
Merge tag 'arm-soc/for-5.5/devicetree-part2' of https://github.com/Broadcom/stblinux...
[linux.git] / drivers / gpu / drm / i915 / gt / intel_rc6_types.h
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2019 Intel Corporation
5  */
6
7 #ifndef INTEL_RC6_TYPES_H
8 #define INTEL_RC6_TYPES_H
9
10 #include <linux/spinlock.h>
11 #include <linux/types.h>
12
13 #include "intel_engine_types.h"
14
15 struct drm_i915_gem_object;
16
17 struct intel_rc6 {
18         u64 prev_hw_residency[4];
19         u64 cur_residency[4];
20
21         struct drm_i915_gem_object *pctx;
22
23         bool supported : 1;
24         bool enabled : 1;
25         bool wakeref : 1;
26         bool ctx_corrupted : 1;
27 };
28
29 #endif /* INTEL_RC6_TYPES_H */