Re: [PATCH v2] drm/panfrost: Use kvfree() to free bo->sgts

2020-06-11 Thread Steven Price
On 08/06/2020 16:17, Denis Efremov wrote: 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: sta...@vger.kernel.org Signed-off-by: Denis Efremov

[PATCH v2] drm/panfrost: Use kvfree() to free bo->sgts

2020-06-08 Thread Denis Efremov
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: sta...@vger.kernel.org Signed-off-by: Denis Efremov --- Change in v2: - kvfree() fixed in