diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-11-08 16:36:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-11 11:21:06 -0500 |
commit | 268e772e807460cee64e354c025d43d8e24574b8 (patch) | |
tree | f2f4232c4530070f238c95759ad7f2eb5a9f1d14 /drivers/gpu/nvgpu/gk20a/tsg_gk20a.c | |
parent | c30f649c4f85929580490180122a1e8c5edb6098 (diff) |
gpu: nvgpu: Deal with invalid MMU id
If gk20a_engine_id_to_mmu_id() fails, it returns ~0. Deal with this
by checking the results in each call to it.
Change-Id: I6fb9f7151f21a6c4694bfb2ea3c960d344fe629f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1249965
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/tsg_gk20a.c')
0 files changed, 0 insertions, 0 deletions