Re: [PATCH] drm/amdgpu: improve wait logic at fence polling

2023-05-12 Thread Alex Deucher
On Mon, May 1, 2023 at 11:13 AM Felix Kuehling wrote: > > Am 2023-04-26 um 12:15 schrieb Alex Sierra: > > Accomplish this by reading the seq number right away instead of sleep > > for 5us. There are certain cases where the fence is ready almost > > immediately. Sleep number granularity was also re

Re: [PATCH] drm/amdgpu: improve wait logic at fence polling

2023-05-01 Thread Felix Kuehling
Am 2023-04-26 um 12:15 schrieb Alex Sierra: Accomplish this by reading the seq number right away instead of sleep for 5us. There are certain cases where the fence is ready almost immediately. Sleep number granularity was also reduced as the majority of the kiq tlb flush takes between 2us to 6us.

[PATCH] drm/amdgpu: improve wait logic at fence polling

2023-04-26 Thread Alex Sierra
Accomplish this by reading the seq number right away instead of sleep for 5us. There are certain cases where the fence is ready almost immediately. Sleep number granularity was also reduced as the majority of the kiq tlb flush takes between 2us to 6us. Signed-off-by: Alex Sierra --- drivers/gpu/