diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index b9cba434..e303dcd6 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -805,6 +805,8 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
805 | if (g->power_on) | 805 | if (g->power_on) |
806 | return 0; | 806 | return 0; |
807 | 807 | ||
808 | trace_gk20a_finalize_poweron(dev_name(dev)); | ||
809 | |||
808 | nice_value = task_nice(current); | 810 | nice_value = task_nice(current); |
809 | set_user_nice(current, -20); | 811 | set_user_nice(current, -20); |
810 | 812 | ||
@@ -915,6 +917,8 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
915 | gk20a_channel_resume(g); | 917 | gk20a_channel_resume(g); |
916 | set_user_nice(current, nice_value); | 918 | set_user_nice(current, nice_value); |
917 | 919 | ||
920 | trace_gk20a_finalize_poweron_done(dev_name(dev)); | ||
921 | |||
918 | done: | 922 | done: |
919 | return err; | 923 | return err; |
920 | } | 924 | } |
@@ -1213,6 +1217,8 @@ static int gk20a_pm_unrailgate(struct generic_pm_domain *domain) | |||
1213 | struct gk20a *g = container_of(domain, struct gk20a, pd); | 1217 | struct gk20a *g = container_of(domain, struct gk20a, pd); |
1214 | struct gk20a_platform *platform = platform_get_drvdata(g->dev); | 1218 | struct gk20a_platform *platform = platform_get_drvdata(g->dev); |
1215 | 1219 | ||
1220 | trace_gk20a_pm_unrailgate(dev_name(&g->dev->dev)); | ||
1221 | |||
1216 | return _gk20a_pm_unrailgate(platform->g->dev); | 1222 | return _gk20a_pm_unrailgate(platform->g->dev); |
1217 | } | 1223 | } |
1218 | 1224 | ||