Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Martin Radev d1983f5cfa gpu: nvgpu: Decrement CSS dmabuf ref cnt before ret
The function gk20a_channel_cycle_stats does not decrement the
dmabuf refcnt if vmapping it fails. This patch fixes it by
decrementing the ref cnt before returning.

NVGPU-397
NVGPU-415

Change-Id: Iae01ada710adb04fd4e4ba0371eccec5f8765254
Signed-off-by: Martin Radev <mradev@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2527190
Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2021-05-18 18:18:25 -07:00
..
2021-01-13 22:36:14 -08:00
2020-12-15 14:13:28 -06:00
2018-06-27 07:30:06 -07:00
2020-12-15 14:10:29 -06:00
2019-02-01 09:45:57 -08:00
2021-05-13 06:32:01 -07:00
2020-12-15 14:13:48 -06:00
2019-08-28 14:24:19 -07:00