• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef INTEL_RC6_TYPES_H
7 #define INTEL_RC6_TYPES_H
8 
9 #include <linux/spinlock.h>
10 #include <linux/types.h>
11 
12 #include "intel_engine_types.h"
13 
14 struct drm_i915_gem_object;
15 
16 struct intel_rc6 {
17 	u64 prev_hw_residency[4];
18 	u64 cur_residency[4];
19 
20 	u32 ctl_enable;
21 
22 	struct drm_i915_gem_object *pctx;
23 
24 	bool supported : 1;
25 	bool enabled : 1;
26 	bool manual : 1;
27 	bool wakeref : 1;
28 };
29 
30 #endif /* INTEL_RC6_TYPES_H */
31