• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 	u32 ctl_enable;
22 
23 	struct drm_i915_gem_object *pctx;
24 
25 	bool supported : 1;
26 	bool enabled : 1;
27 	bool manual : 1;
28 	bool wakeref : 1;
29 };
30 
31 #endif /* INTEL_RC6_TYPES_H */
32