diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-10-15 02:52:08 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:47 -0400 |
commit | 1c8fb3178f107ca58102fe729521f3a7edc20b62 (patch) | |
tree | 40e5e58a8fad7ddaa6a81c0c4488d112a0cfeab1 /include/uapi | |
parent | 2eb6dcb4694c8b83e22c50d9fd4d3fdd85b93c46 (diff) |
gpu: nvgpu: cde: set err properly in oom condition
When gk20a_gmmu_map runs out of memory, set the error code before
returning early, so that caller knows about that cde load didn't succeed
and wouldn't use the bad context.
Change-Id: I1e166c78e39f07df941a29fc4e392a853d97a5c6
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/557273
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions