summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c
index 05e3c3f4..d7446484 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.c
@@ -701,9 +701,9 @@ static int gk20a_pm_unrailgate(struct device *dev)
701{ 701{
702 struct gk20a_platform *platform = dev_get_drvdata(dev); 702 struct gk20a_platform *platform = dev_get_drvdata(dev);
703 int ret = 0; 703 int ret = 0;
704#ifdef CONFIG_DEBUG_FS
705 struct gk20a *g = get_gk20a(dev); 704 struct gk20a *g = get_gk20a(dev);
706 705
706#ifdef CONFIG_DEBUG_FS
707 g->pstats.last_rail_ungate_start = jiffies; 707 g->pstats.last_rail_ungate_start = jiffies;
708 if (g->pstats.railgating_cycle_count >= 1) 708 if (g->pstats.railgating_cycle_count >= 1)
709 g->pstats.total_rail_gate_time_ms = 709 g->pstats.total_rail_gate_time_ms =