diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-08 17:17:28 +0200 |
---|---|---|
committer | Steven Price <steven.price@arm.com> | 2020-06-19 12:00:02 +0200 |
commit | 114427b8927a4def2942b2b886f7e4aeae289ccb (patch) | |
tree | 07dec3b3d7089d6638453d64eb8b1acf96f200c7 /drivers/gpu/drm/tiny/mi0283qt.c | |
parent | drm/panfrost: Fix runtime PM imbalance on error (diff) | |
download | linux-114427b8927a4def2942b2b886f7e4aeae289ccb.tar.xz linux-114427b8927a4def2942b2b886f7e4aeae289ccb.zip |
drm/panfrost: Use kvfree() to free bo->sgts
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
Diffstat (limited to 'drivers/gpu/drm/tiny/mi0283qt.c')
0 files changed, 0 insertions, 0 deletions