summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/mm
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-11-29 02:35:57 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-29 14:54:14 -0500
commitb6b71bd4a82d5a8734b9e703ea2468297fbe9645 (patch)
tree202f49ae43fee788faba7e81fca23e96a3f3db43 /drivers/gpu/nvgpu/common/mm
parent0be5d655604fb7f453a3ec00c8675d749555481d (diff)
gpu: nvgpu: fix cleanup path in css_gr_create_client_data()
In css_gr_create_client_data(), we call css_gr_free_client_data() in case cur->perfmon_start is zero css_gr_free_client_data() deletes the node from list, and performs some cleanup if cur->perfmon_start is non-zero Hence it is incorrect to call css_gr_free_client_data() in clean up path since node is not added to the list, and cur->perfmon_start is zero anyways Fix the cleanup path, and remove call to css_gr_free_client_data() Jira NVGPU-397 Change-Id: I9cb1abf4d6a02716156c9ea2d4a7963e1c92a531 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1606977 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit 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/common/mm')
0 files changed, 0 insertions, 0 deletions