aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorXiang Liu <xiang.liu@amd.com>2026-09-23 19:06:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-10-01 12:18:00 -0400
commita113d4d659f07206a0fd53dd044d9fb2e5bd14f9 (patch)
tree0b9697adf9b34facaba551982b85856fc0126a0c /scripts/Makefile.thinlto
parentdrm/amdgpu: place VRAM-capable dma-buf imports in the PREEMPT domain (diff)
drm/amdgpu: don't leak bo_va when gem_object_open fails
drm_gem_handle_create_tail() skips the close() callback when open() returns an error, so a bo_va added before a failing step is never removed. It stays linked on bo->vm_bo and a later eviction of that BO dereferences the VM after it has been torn down. Validate and fence the BO before adding the bo_va, drop the bo_va when attaching the eviction fence fails, and propagate the allocation failure from amdgpu_vm_bo_add(). Signed-off-by: Xiang Liu <xiang.liu@amd.com> Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions