summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2016-09-27 08:40:55 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-10-20 13:44:41 -0400
commitf5ed4707944f0019bf80557f86a6173e9270a981 (patch)
treedf478e7b948d7af4c4cc3b3b61e6963c941b8374 /include/linux/tegra_vgpu.h
parent1cb6d159e271cd10c7815dd5c08fbd520f83223f (diff)
gpu: nvgpu: fix page alloc slab error condition
Return NULL instead of ERR_PTR from __gk20a_alloc_slab to be consistent with __gk20a_alloc_pages, and thus to work with an error check in gk20a_page_alloc in out-of-memory conditions. Bug 1799159 JIRA DNVGPU-100 Change-Id: I8c3c0e121840758c6aba860baac86a38e873e359 Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1227730 (cherry picked from commit 209927a6b3bae4fddc2a6a745c1b4b1f46c6675c) Reviewed-on: http://git-master/r/1235192 Reviewed-by: Alex Waterman <alexw@nvidia.com> Tested-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/tegra_vgpu.h')
0 files changed, 0 insertions, 0 deletions