Re: [PATCH 2/2] drm/amdgpu: workaround to avoid SET_Q_MODE packets

2024-02-29 Thread Alex Deucher
On Thu, Feb 29, 2024 at 9:58 AM Christian König wrote: > > It turned out that executing the SET_Q_MODE packet on every submission > creates to much overhead. > > Implement a workaround which allows skipping the SET_Q_MODE packet if > subsequent submissions all use the same parameters. > > Signed-o

[PATCH 2/2] drm/amdgpu: workaround to avoid SET_Q_MODE packets

2024-02-29 Thread Christian König
It turned out that executing the SET_Q_MODE packet on every submission creates to much overhead. Implement a workaround which allows skipping the SET_Q_MODE packet if subsequent submissions all use the same parameters. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h