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
This commit is contained in:
Terje Bergstrom
2014-12-08 14:06:04 +02:00
committed by Dan Willemsen
parent 0abb99eb9c
commit 69bb5e1569
4 changed files with 9 additions and 18 deletions

View File

@@ -243,8 +243,6 @@ struct gr_gk20a {
u32 alpha_cb_default_size;
u32 alpha_cb_size;
u32 timeslice_mode;
u32 pagepool_default_size;
u32 pagepool_max_size;
struct gr_ctx_buffer_desc global_ctx_buffer[NR_GLOBAL_CTX_BUF];