diff options
| author | Laura Abbott <[email protected]> | 2013-12-13 14:23:48 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-14 08:55:37 -0800 |
| commit | 2900cd767180e9674947101fea96e318dc9b23eb (patch) | |
| tree | 8b740cf8e8de5a39afeee7cbe0f8cb36a52b75dc /tools/perf/scripts/python/bin | |
| parent | 0de9577b5e708b903a58a9d5e91d6474daa29c2d (diff) | |
gpu: ion: Loop on the handle count when destroying
When destroying a handle, all kernel mappings to that handle
should be destroyed. Other handles may still have references
and valid mappings to the buffer underneath which should not
be destroyed. Loop on the handle reference count, not the buffer
reference count to get rid of all kernel mappings for the handle.
Signed-off-by: Laura Abbott <[email protected]>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions