diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-09-06 08:55:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-15 15:24:24 -0400 |
commit | 97512aecb60edf451914641231407a5e92559ac6 (patch) | |
tree | b6386e1238397311eac0cf91c826a3812971bc68 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | 2e2f8f15050058ec162786cfd84f8ce959c36183 (diff) |
gpu: nvgpu: fix inst block leak for vidmem
Test for size, not cpu_va, to check for buffer validity before
attempting to free.
Jira DNVGPU-22
Change-Id: I416c0963bf4e1819aa2f8d200c69a2d989524f83
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1215575
(cherry picked from commit ce0077feca55bfb5665c82972598a075abd8f2a0)
Reviewed-on: http://git-master/r/1219702
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions