summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-12-08 07:06:04 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:27 -0400
commit69bb5e156944d5df715d6bb388fd1c97fe458f18 (patch)
tree3dccb664a28eec9d72b8f40cb78afd31779e6cc0 /drivers/gpu/nvgpu/gk20a/gr_gk20a.h
parent0abb99eb9c145711f0021280b19825d6cd0b5f3f (diff)
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
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gr_gk20a.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
index c5dd80ea..e5d315e5 100644
--- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h
@@ -243,8 +243,6 @@ struct gr_gk20a {
243 u32 alpha_cb_default_size; 243 u32 alpha_cb_default_size;
244 u32 alpha_cb_size; 244 u32 alpha_cb_size;
245 u32 timeslice_mode; 245 u32 timeslice_mode;
246 u32 pagepool_default_size;
247 u32 pagepool_max_size;
248 246
249 struct gr_ctx_buffer_desc global_ctx_buffer[NR_GLOBAL_CTX_BUF]; 247 struct gr_ctx_buffer_desc global_ctx_buffer[NR_GLOBAL_CTX_BUF];
250 248