mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Use kvfree() to free bo->sgts, because the memory is allocated with
kvmalloc_array() in panfrost_mmu_map_fault_addr().
Fixes: 187d292920 ("drm/panfrost: Add support for GPU heap allocations")
Cc: [email protected]
Signed-off-by: Denis Efremov <[email protected]>
Reviewed-by: Steven Price <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]