diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-06-26 05:22:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-28 14:13:42 -0400 |
commit | d8833c6da35c99d73f817e614f327e5617788860 (patch) | |
tree | 217148dd6f96883cdc7a9335eee071c97c1169a7 /drivers/gpu/nvgpu/therm/thrmpmu.h | |
parent | 610dafa1e0d3db345cd7a46adcf82617236c8602 (diff) |
gpu: nvgpu: remove unnecessary nvgpu_memset calls
Some graphics context buffers are explicitly cleared to zero after
allocation. That's not necessary because the allocator gives
zero-initialized memory already, so remove the clears.
Change-Id: I8f9913605801e35082762e7743762d97f88e1d12
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1761578
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.h')
0 files changed, 0 insertions, 0 deletions