diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_scale.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_scale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c index c23cdcba..160776bc 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_scale.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a_scale.c | |||
@@ -93,7 +93,7 @@ int gk20a_scale_qos_notify(struct notifier_block *nb, | |||
93 | 93 | ||
94 | /* Update gpu load because we may scale the emc target | 94 | /* Update gpu load because we may scale the emc target |
95 | * if the gpu load changed. */ | 95 | * if the gpu load changed. */ |
96 | gk20a_pmu_load_update(g); | 96 | nvgpu_pmu_load_update(g); |
97 | platform->postscale(profile->dev, freq); | 97 | platform->postscale(profile->dev, freq); |
98 | 98 | ||
99 | return NOTIFY_OK; | 99 | return NOTIFY_OK; |
@@ -223,7 +223,7 @@ static void update_load_estimate_gpmu(struct device *dev) | |||
223 | 223 | ||
224 | profile->dev_stat.total_time = dt; | 224 | profile->dev_stat.total_time = dt; |
225 | profile->last_event_time = t; | 225 | profile->last_event_time = t; |
226 | gk20a_pmu_load_norm(g, &busy_time); | 226 | nvgpu_pmu_load_norm(g, &busy_time); |
227 | profile->dev_stat.busy_time = (busy_time * dt) / 1000; | 227 | profile->dev_stat.busy_time = (busy_time * dt) / 1000; |
228 | } | 228 | } |
229 | 229 | ||
@@ -310,7 +310,7 @@ static int gk20a_scale_get_dev_status(struct device *dev, | |||
310 | struct gk20a_platform *platform = dev_get_drvdata(dev); | 310 | struct gk20a_platform *platform = dev_get_drvdata(dev); |
311 | 311 | ||
312 | /* update the software shadow */ | 312 | /* update the software shadow */ |
313 | gk20a_pmu_load_update(g); | 313 | nvgpu_pmu_load_update(g); |
314 | 314 | ||
315 | /* inform edp about new constraint */ | 315 | /* inform edp about new constraint */ |
316 | if (platform->prescale) | 316 | if (platform->prescale) |