diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 66d97915..a753201b 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -181,10 +181,11 @@ struct gk20a_platform { | |||
181 | * this governor to be used in scaling */ | 181 | * this governor to be used in scaling */ |
182 | const char *devfreq_governor; | 182 | const char *devfreq_governor; |
183 | 183 | ||
184 | /* Quality of service id. If this is set, the scaling routines | 184 | /* Quality of service notifier callback. If this is set, the scaling |
185 | * will register a callback to id. Each time we receive a new value, | 185 | * routines will register a callback to Qos. Each time we receive |
186 | * the postscale callback gets called. */ | 186 | * a new value, this callback gets called. */ |
187 | int qos_id; | 187 | int (*qos_notify)(struct notifier_block *nb, |
188 | unsigned long n, void *p); | ||
188 | 189 | ||
189 | /* Called as part of debug dump. If the gpu gets hung, this function | 190 | /* Called as part of debug dump. If the gpu gets hung, this function |
190 | * is responsible for delivering all necessary debug data of other | 191 | * is responsible for delivering all necessary debug data of other |