summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2015-01-22 15:48:10 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-04-04 21:04:19 -0400
commit4f693d032aa29a5b832d0fcdd48f087dc416bfcb (patch)
tree52c5e1f6c544f26152087b0d8f219fa7d95c7b7e /drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h
parent9148a1e62757bebf27eb38ba7e866c0ee5e0e6f3 (diff)
gpu: nvgpu: Change va_node free behavior
Decrement the ref count on all mapped_buffers belonging to a va_node when a va_node is freed. This prevents userspace from leaking some mapped_buffers in some cases. This does prevent userspace from keeping a buffer around after freeing a space allocation if the buffer in question is not otherwise ref counted. Not sure if this is a bad thing for userspace or not. Bug 1600686 Change-Id: I659ccbda5935d44086fd367bd2110f7d0f066194 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/676629 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gm20b_gating_reglist.h')
0 files changed, 0 insertions, 0 deletions