diff options
author | Joshua Bakita <bakitajoshua@gmail.com> | 2024-09-25 16:09:09 -0400 |
---|---|---|
committer | Joshua Bakita <bakitajoshua@gmail.com> | 2024-09-25 16:09:09 -0400 |
commit | f347fde22f1297e4f022600d201780d5ead78114 (patch) | |
tree | 76be305d6187003a1e0486ff6e91efb1062ae118 /include/os/linux/scale.h | |
parent | 8340d234d78a7d0f46c11a584de538148b78b7cb (diff) |
Delete no-longer-needed nvgpu headersHEADmasterjbakita-wip
The dependency on these was removed in commit 8340d234.
Diffstat (limited to 'include/os/linux/scale.h')
-rw-r--r-- | include/os/linux/scale.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/include/os/linux/scale.h b/include/os/linux/scale.h deleted file mode 100644 index c1e6fe8..0000000 --- a/include/os/linux/scale.h +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | /* | ||
2 | * gk20a clock scaling profile | ||
3 | * | ||
4 | * Copyright (c) 2013-2016, NVIDIA Corporation. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms and conditions of the GNU General Public License, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #ifndef GK20A_SCALE_H | ||
20 | #define GK20A_SCALE_H | ||
21 | |||
22 | #include <linux/devfreq.h> | ||
23 | |||
24 | struct clk; | ||
25 | |||
26 | struct gk20a_scale_profile { | ||
27 | struct device *dev; | ||
28 | ktime_t last_event_time; | ||
29 | struct devfreq_dev_profile devfreq_profile; | ||
30 | struct devfreq_dev_status dev_stat; | ||
31 | struct notifier_block qos_notify_block; | ||
32 | unsigned long qos_min_freq; | ||
33 | unsigned long qos_max_freq; | ||
34 | void *private_data; | ||
35 | }; | ||
36 | |||
37 | /* Initialization and de-initialization for module */ | ||
38 | void gk20a_scale_init(struct device *); | ||
39 | void gk20a_scale_exit(struct device *); | ||
40 | void gk20a_scale_hw_init(struct device *dev); | ||
41 | |||
42 | #if defined(CONFIG_GK20A_DEVFREQ) | ||
43 | /* | ||
44 | * call when performing submit to notify scaling mechanism that the module is | ||
45 | * in use | ||
46 | */ | ||
47 | void gk20a_scale_notify_busy(struct device *); | ||
48 | void gk20a_scale_notify_idle(struct device *); | ||
49 | |||
50 | void gk20a_scale_suspend(struct device *); | ||
51 | void gk20a_scale_resume(struct device *); | ||
52 | int gk20a_scale_qos_notify(struct notifier_block *nb, | ||
53 | unsigned long n, void *p); | ||
54 | #else | ||
55 | static inline void gk20a_scale_notify_busy(struct device *dev) {} | ||
56 | static inline void gk20a_scale_notify_idle(struct device *dev) {} | ||
57 | static inline void gk20a_scale_suspend(struct device *dev) {} | ||
58 | static inline void gk20a_scale_resume(struct device *dev) {} | ||
59 | static inline int gk20a_scale_qos_notify(struct notifier_block *nb, | ||
60 | unsigned long n, void *p) | ||
61 | { | ||
62 | return -ENOSYS; | ||
63 | } | ||
64 | #endif | ||
65 | |||
66 | #endif | ||