diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index ad200f38..519fa509 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -3626,8 +3626,8 @@ static unsigned int __gk20a_fifo_create_stats(struct gk20a *g, | |||
3626 | /* build ranges */ | 3626 | /* build ranges */ |
3627 | for (index = 0; index < PERCENTILE_RANGES; index++) | 3627 | for (index = 0; index < PERCENTILE_RANGES; index++) |
3628 | percentiles[index] = | 3628 | percentiles[index] = |
3629 | g->fifo.profile.sorted[(PERCENTILE_WIDTH * index * | 3629 | g->fifo.profile.sorted[(PERCENTILE_WIDTH * (index + 1) * |
3630 | nelem)/100]; | 3630 | nelem)/100 - 1]; |
3631 | return nelem; | 3631 | return nelem; |
3632 | } | 3632 | } |
3633 | 3633 | ||