Re: [PATCH v8] drm/amdgpu: sync page table freeing with tlb flush

2024-03-21 Thread Sharma, Shashank
On 18/03/2024 16:24, Christian König wrote: Am 18.03.24 um 16:22 schrieb Sharma, Shashank: On 18/03/2024 16:01, Christian König wrote: Am 18.03.24 um 15:44 schrieb Shashank Sharma: The idea behind this patch is to delay the freeing of PT entry objects until the TLB flush is done. This patch

Re: [PATCH v8] drm/amdgpu: sync page table freeing with tlb flush

2024-03-18 Thread Christian König
Am 18.03.24 um 16:22 schrieb Sharma, Shashank: On 18/03/2024 16:01, Christian König wrote: Am 18.03.24 um 15:44 schrieb Shashank Sharma: The idea behind this patch is to delay the freeing of PT entry objects until the TLB flush is done. This patch: - Adds a tlb_flush_waitlist in amdgpu_vm_upd

Re: [PATCH v8] drm/amdgpu: sync page table freeing with tlb flush

2024-03-18 Thread Sharma, Shashank
On 18/03/2024 16:01, Christian König wrote: Am 18.03.24 um 15:44 schrieb Shashank Sharma: The idea behind this patch is to delay the freeing of PT entry objects until the TLB flush is done. This patch: - Adds a tlb_flush_waitlist in amdgpu_vm_update_params which will keep the    objects tha

Re: [PATCH v8] drm/amdgpu: sync page table freeing with tlb flush

2024-03-18 Thread Christian König
Am 18.03.24 um 15:44 schrieb Shashank Sharma: The idea behind this patch is to delay the freeing of PT entry objects until the TLB flush is done. This patch: - Adds a tlb_flush_waitlist in amdgpu_vm_update_params which will keep the objects that need to be freed after tlb_flush. - Adds PT ent

[PATCH v8] drm/amdgpu: sync page table freeing with tlb flush

2024-03-18 Thread Shashank Sharma
The idea behind this patch is to delay the freeing of PT entry objects until the TLB flush is done. This patch: - Adds a tlb_flush_waitlist in amdgpu_vm_update_params which will keep the objects that need to be freed after tlb_flush. - Adds PT entries in this list in amdgpu_vm_ptes_update after