mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
Dan Willemsen
parent
0abb99eb9c
commit
69bb5e1569
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user