Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / gt / intel_rc6.h
blob9f0f23fca8aff2dcc5395b83d2d7cb7cc4f188ba
1 /*
2 * SPDX-License-Identifier: MIT
4 * Copyright © 2019 Intel Corporation
5 */
7 #ifndef INTEL_RC6_H
8 #define INTEL_RC6_H
10 #include "i915_reg.h"
12 struct intel_engine_cs;
13 struct intel_rc6;
15 void intel_rc6_init(struct intel_rc6 *rc6);
16 void intel_rc6_fini(struct intel_rc6 *rc6);
18 void intel_rc6_unpark(struct intel_rc6 *rc6);
19 void intel_rc6_park(struct intel_rc6 *rc6);
21 void intel_rc6_sanitize(struct intel_rc6 *rc6);
22 void intel_rc6_enable(struct intel_rc6 *rc6);
23 void intel_rc6_disable(struct intel_rc6 *rc6);
25 u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, i915_reg_t reg);
26 u64 intel_rc6_residency_us(struct intel_rc6 *rc6, i915_reg_t reg);
28 #endif /* INTEL_RC6_H */