Re: [PATCH v2] drm/amdgpu: fix clearing mappings for BOs that are always valid in VM

2023-06-16 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Jun 16, 2023 at 9:38 AM Samuel Pitoiset wrote: > > Per VM BOs must be marked as moved or otherwise their ranges are not > updated on use which might be necessary when the replace operation > splits mappings. > > This fixes random GPU hangs when replacing sparse map

[PATCH v2] drm/amdgpu: fix clearing mappings for BOs that are always valid in VM

2023-06-16 Thread Samuel Pitoiset
Per VM BOs must be marked as moved or otherwise their ranges are not updated on use which might be necessary when the replace operation splits mappings. This fixes random GPU hangs when replacing sparse mappings from the userspace, while OP_MAP/OP_UNMAP works fine because always valid BOs are corr