r default zero GFXOFF delay:
https://github.com/pacoandres/laikm/issues/74
On Mon, Mar 24, 2025 at 5:18 PM Alex Deucher wrote:
>
> On Mon, Mar 24, 2025 at 11:14 AM Sergey Kovalenko
> wrote:
> >
> > "Moreover the work only gets scheduled/cancelled
> > around a ref cou
d a significant overhead, and
to mitigate it there is a simple solution to limit the amount
of those calls.
Regards,
Sergey
On Mon, Mar 24, 2025 at 4:50 PM Alex Deucher wrote:
>
> On Mon, Mar 24, 2025 at 10:34 AM Sergey Kovalenko
> wrote:
> >
> > Hello Alex!
> >
>
Since there are several GPU series that require additional GFXOFF
ON/OFF switches
to ensure stability, this algorithm can be seen as a way to mitigate
the negative effects
of workarounds.
Simple and efficient.
Regards,
Sergey
On Mon, Mar 24, 2025 at 4:34 PM Sergey Kovalenko
wrote:
>
>
Alex Deucher wrote:
>
> On Mon, Mar 24, 2025 at 5:06 AM Sergey Kovalenko
> wrote:
> >
> > Predict an optimal delay to enable GFXOFF for the next interval
> > based on the request count:
> > - less than 15 requests per second - zero delay
> > - less than 25 req
d-off-by: Sergey Kovalenko
Tested-by: Liam Fleming
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 94 +
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 3 +
2 files changed, 67 insertions(+), 30 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
b/drivers/gpu/dr