diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-08 18:17:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 13:15:20 +0200 |
commit | 1ff09cb0376c4d55e786229c685be3468ddc6584 (patch) | |
tree | 622281a02ce514ff93ac238e5c5ae41b67a32674 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 01f876a47fc8af6d2ff1e8d7644a225956b5d80a (diff) |
drm/panfrost: Use kvfree() to free bo->sgts
commit 114427b8927a4def2942b2b886f7e4aeae289ccb upstream.
Use kvfree() to free bo->sgts, because the memory is allocated with
kvmalloc_array() in panfrost_mmu_map_fault_addr().
Fixes: 187d2929206e ("drm/panfrost: Add support for GPU heap allocations")
Cc: stable@vger.kernel.org
Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200608151728.234026-1-efremov@linux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions