]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Simplify pagepool size query
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 8 Dec 2014 12:06:04 +0000 (14:06 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 10 Dec 2014 09:34:41 +0000 (01:34 -0800)
commit5f04a5be6319cb6d3207c346e8c575bf6303a8ea
treede33218407d4b5d699a96fa6a5c329f98551ef51
parent1dc69e3328d39443a45ef5de6be987716d349f61
gpu: nvgpu: Simplify pagepool size query

Make pagepool size query into a function instead of storing the value
during boot time in a structure. This simplifies the structure and
users of pagepool size do not need to worry about whether it has
already been set.

Change-Id: Iba16e840cdf9b6c39449730237aa7d8fdff47848
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/660907
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/gr_gk20a.c
drivers/gpu/nvgpu/gk20a/gr_gk20a.h
drivers/gpu/nvgpu/gm20b/gr_gm20b.c