Re: [PATCH 2/3] drm/amdgpu: More efficient ring padding

2024-07-13 Thread Tvrtko Ursulin
On 12/07/2024 16:28, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Having noticed that typically 200+ nops per submission are written into the ring, using a rather verbose one-nop-at-a-time-plus-ring-buffer- arithmetic as done in amdgpu_ring_write(), the obvious idea was to improve it by filling

[PATCH 2/3] drm/amdgpu: More efficient ring padding

2024-07-12 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Having noticed that typically 200+ nops per submission are written into the ring, using a rather verbose one-nop-at-a-time-plus-ring-buffer- arithmetic as done in amdgpu_ring_write(), the obvious idea was to improve it by filling those nops in blocks. This patch therefore ad