diff options
author | Sachit Kadle <skadle@nvidia.com> | 2016-08-24 14:16:34 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-29 23:26:41 -0400 |
commit | f22236c0c15d7c1daf02c9c663f489cdb61cfa99 (patch) | |
tree | 51ebd0db68cca5951341491a795e24001a2ced80 /include/linux/gk20a.h | |
parent | 965c2cbbecbb569a5d3062558047eedcdf9bb7e5 (diff) |
gpu: nvgpu: use vzalloc for golden_ctx_image
As the size of the golden_ctx_image is large,
the allocation may intermittently fail when using
kzalloc. Since we don't need physically continguous
memory, use vzalloc instead.
Bug 200231436
Change-Id: Ic2fb31dea94c8721832dc257334608e1fc283943
Signed-off-by: Sachit Kadle <skadle@nvidia.com>
Reviewed-on: http://git-master/r/1207172
(cherry picked from commit 994a7b162ec74518ae0f50dfb5ac197e44019992)
Reviewed-on: http://git-master/r/1229472
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions