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
@@ -143,7 +143,7 @@ struct gpu_ops {
|
||||
struct zbc_entry *color_val, u32 index);
|
||||
int (*add_zbc_depth)(struct gk20a *g, struct gr_gk20a *gr,
|
||||
struct zbc_entry *depth_val, u32 index);
|
||||
void (*buffer_size_defaults)(struct gk20a *g);
|
||||
u32 (*pagepool_default_size)(struct gk20a *g);
|
||||
} gr;
|
||||
const char *name;
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user