diff options
author | Mahantesh Kumbar <mkumbar@nvidia.com> | 2018-03-13 05:25:30 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-19 01:43:13 -0400 |
commit | 395496bd6a01529a803995d38c5e15572d6d7733 (patch) | |
tree | 9fe177ee6798322dab16b5870a68c10b765996f3 /drivers/gpu/nvgpu/gv11b/gv11b.h | |
parent | 619b1c92bc684b4b57f03075525a9f23799fa40d (diff) |
gpu: nvgpu: fix boardobjgrp getstatus error on gv10x
Req : Some boardobjgrp don't need getstatus support, so
boardobjgrp pmu cmd not constructed for those boardobjgrp.
Don't request memory alloc if boardobjgrp pmu cmd
not constructed & should exit cleanly without allocating memory.
Fix: Don't request memory alloc if boardobjgrp pmu cmd
not constructed by checking "sturct boardobjgrp_pmu_cmd"
member "fbsize" value.
Change-Id: I610d6812ec1d1bcf7ea38645236601b3e5672650
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1674191
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gv11b.h')
0 files changed, 0 insertions, 0 deletions