aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDenis Efremov <[email protected]>2020-06-08 15:17:28 +0000
committerSteven Price <[email protected]>2020-06-19 10:00:02 +0000
commit114427b8927a4def2942b2b886f7e4aeae289ccb (patch)
tree07dec3b3d7089d6638453d64eb8b1acf96f200c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/panfrost: Fix runtime PM imbalance on error (diff)
downloadkernel-114427b8927a4def2942b2b886f7e4aeae289ccb.tar.gz
kernel-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: [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]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions