diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-07-26 17:35:48 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-31 02:11:42 -0400 |
commit | 43ae97000be786e4118d431637f05b1462e296c4 (patch) | |
tree | 172a912727c25ac20ed64373b9220afa1a610a53 /drivers/gpu/nvgpu/common/linux | |
parent | 04470a984d3e91ea08b4b2a4db11341e7ee84640 (diff) |
gpu: nvgpu: Use non-contig mem in pd_cache
In the PD caching code use a non-contiguous DMA alloc for PAGE_SIZE
and below allocations. There's no need for using the special contig
pool of mem for these page sized allocs so wasting said mem can lead
us to OOM problems pretty quickly (think large sparse textures, for
example).
Also turn several pd_dbg() statements for printing OOM errors into
nvgpu_err()s since knowing exactly where an alloc fails is very
convenient.
Bug 200326705
Change-Id: Ib7c45020894d4bdd73cc92179ef707e472714d61
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1527294
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux')
0 files changed, 0 insertions, 0 deletions