Re: [PATCH 2/2] drm/amdgpu: properly release the eviction fences

2025-04-23 Thread Christian König
On 4/23/25 17:05, Liang, Prike wrote: > [Public] > >> From: Koenig, Christian >> Sent: Wednesday, April 23, 2025 9:58 PM >> To: Liang, Prike ; amd-gfx@lists.freedesktop.org >> Cc: Deucher, Alexander >> Subject: Re: [PATCH 2/2] drm/amdgpu: properly release the

RE: [PATCH 2/2] drm/amdgpu: properly release the eviction fences

2025-04-23 Thread Liang, Prike
[Public] > From: Koenig, Christian > Sent: Wednesday, April 23, 2025 9:58 PM > To: Liang, Prike ; amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: Re: [PATCH 2/2] drm/amdgpu: properly release the eviction fences > > On 4/23/25 15:26, Prike Liang wrote: &g

Re: [PATCH 2/2] drm/amdgpu: properly release the eviction fences

2025-04-23 Thread Christian König
On 4/23/25 15:26, Prike Liang wrote: > The following cases require releasing and deferring the > eviction fences properly > > 1) Detach the old eviction fences before attaching a new one. > 2) Drop the eviction fence init reference. > 3) Correct the attached eviction fence reference. > 4) Free the

[PATCH 2/2] drm/amdgpu: properly release the eviction fences

2025-04-23 Thread Prike Liang
The following cases require releasing and deferring the eviction fences properly 1) Detach the old eviction fences before attaching a new one. 2) Drop the eviction fence init reference. 3) Correct the attached eviction fence reference. 4) Free the eviction fence when the attached BOs are released.