aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorZhipeng Lu <[email protected]>2023-12-14 16:58:42 +0000
committerAlex Deucher <[email protected]>2023-12-14 20:28:53 +0000
commitc2709b2d6a537ca0fa0f1da36fdaf07e48ef447d (patch)
tree8931f27282071bc41da9eaf2468aed32e6e97813 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrivers/amd/pm: fix a use-after-free in kv_parse_power_table (diff)
downloadkernel-c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d.tar.gz
kernel-c2709b2d6a537ca0fa0f1da36fdaf07e48ef447d.zip
gpu/drm/radeon: fix two memleaks in radeon_vm_init
When radeon_bo_create and radeon_vm_clear_bo fail, the vm->page_tables allocated before need to be freed. However, neither radeon_vm_init itself nor its caller have done such deallocation. Fixes: 6d2f2944e95e ("drm/radeon: use normal BOs for the page tables v4") Signed-off-by: Zhipeng Lu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions