diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 688992c6..d750f497 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c | |||
@@ -138,7 +138,7 @@ int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g, | |||
138 | { | 138 | { |
139 | struct gk20a_platform *platform = platform_get_drvdata(g->dev); | 139 | struct gk20a_platform *platform = platform_get_drvdata(g->dev); |
140 | int value = scale_ptimer(timeslice_period, | 140 | int value = scale_ptimer(timeslice_period, |
141 | platform->ptimerscaling10x); | 141 | ptimer_scalingfactor10x(platform->ptimer_src_freq)); |
142 | int shift = 3; | 142 | int shift = 3; |
143 | 143 | ||
144 | /* value field is 8 bits long */ | 144 | /* value field is 8 bits long */ |