Re: [RFC 03/14] drm/sched: Implement RR via FIFO

2025-01-08 Thread Tvrtko Ursulin
On 08/01/2025 09:42, Danilo Krummrich wrote: On Mon, Dec 30, 2024 at 04:52:48PM +, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Round-robin being the non-default policy and unclear how much it is used, I don't know either, but would be nice if we could instead remove it. we can notice

Re: [RFC 03/14] drm/sched: Implement RR via FIFO

2025-01-08 Thread Danilo Krummrich
On Mon, Dec 30, 2024 at 04:52:48PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Round-robin being the non-default policy and unclear how much it is used, I don't know either, but would be nice if we could instead remove it. > we can notice that it can be implemented using the FIFO da

[RFC 03/14] drm/sched: Implement RR via FIFO

2024-12-30 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Round-robin being the non-default policy and unclear how much it is used, we can notice that it can be implemented using the FIFO data structures if we only invent a fake submit timestamp which is monotonically increasing inside drm_sched_rq instances. So instead of remember