diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-05-15 08:29:59 -0400 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2015-05-19 23:32:38 -0400 |
commit | 4531a27adcc5629d1e246af5b0a5ca378daca9d1 (patch) | |
tree | 6706eae51c587a2a7e153261dcb131da5a4f1a77 /include/uapi | |
parent | 01f359f3f1bbf95d7ac4453a6c1de811bf0aee11 (diff) |
gpu: nvgpu: fix channel leak with immediate close
If a GPU channel is closed immediately after opening without
performing any operation on it, we leak that channel
e.g. below command leaks a channel
echo > /dev/nvhost-gpu
Fix this leak by releasing the channel before returning
Change-Id: I2598e3cabec6996cb1cf8066a1e6d7d5864ae02b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/743235
(cherry picked from commit 428771509b4431ebe88e38061b495cabc5192327)
Reviewed-on: http://git-master/r/744279
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions