diff --git a/drivers/gpu/drm/asahi/mmu.rs b/drivers/gpu/drm/asahi/mmu.rs index ed032ab146dd06..66419c4adbbd02 100644 --- a/drivers/gpu/drm/asahi/mmu.rs +++ b/drivers/gpu/drm/asahi/mmu.rs @@ -2848,6 +2848,9 @@ impl Vm { // unmap error. Always release reservations before dropping it. core::mem::drop(vm_exec); core::mem::drop(bo); + // The unlinked VM BO waits on the deferred list and still holds the GEM. + // Free it now so the closed GEM and its admission charge go with the handle. + self.bo_deferred_cleanup(); if result == Err(ENOMEM) { return self.drop_mappings_low_memory(gem); }