Re: [PATCH 1/2] dma-fence: Use kernel's sort for merging fences

2024-11-14 Thread Tvrtko Ursulin
On 14/11/2024 13:48, Christian König wrote: Am 14.11.24 um 12:14 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin One alternative to the fix Christian proposed in https://lore.kernel.org/dri-devel/20241024124159.4519-3-christian.koe...@amd.com/ is to replace the rather complex open coded sorting

Re: [PATCH 1/2] dma-fence: Use kernel's sort for merging fences

2024-11-14 Thread Christian König
Am 14.11.24 um 12:14 schrieb Tvrtko Ursulin: From: Tvrtko Ursulin One alternative to the fix Christian proposed in https://lore.kernel.org/dri-devel/20241024124159.4519-3-christian.koe...@amd.com/ is to replace the rather complex open coded sorting loops with the kernel standard sort followed b

[PATCH 1/2] dma-fence: Use kernel's sort for merging fences

2024-11-14 Thread Tvrtko Ursulin
From: Tvrtko Ursulin One alternative to the fix Christian proposed in https://lore.kernel.org/dri-devel/20241024124159.4519-3-christian.koe...@amd.com/ is to replace the rather complex open coded sorting loops with the kernel standard sort followed by a context squashing pass. Proposed advantage