1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright �� 2021 Intel Corporation
4 */
5
6#ifndef _INTEL_GUC_SLPC_TYPES_H_
7#define _INTEL_GUC_SLPC_TYPES_H_
8
9#include <linux/types.h>
10
11#define SLPC_RESET_TIMEOUT_MS 5
12
13struct intel_guc_slpc {
14	struct i915_vma *vma;
15	struct slpc_shared_data *vaddr;
16	bool supported;
17	bool selected;
18
19	/* platform frequency limits */
20	u32 min_freq;
21	u32 rp0_freq;
22	u32 rp1_freq;
23
24	/* frequency softlimits */
25	u32 min_freq_softlimit;
26	u32 max_freq_softlimit;
27};
28
29#endif
30