[Intel-gfx] [PATCH v3] drm/i915: Split execlist priority queue into rbtree + linked list

2017-05-15 Thread Chris Wilson
All the requests at the same priority are executed in FIFO order. They do not need to be stored in the rbtree themselves, as they are a simple list within a level. If we move the requests at one priority into a list, we can then reduce the rbtree to the set of priorities. This should keep the heigh

Re: [Intel-gfx] [PATCH v3] drm/i915: Split execlist priority queue into rbtree + linked list

2017-05-15 Thread MichaƂ Winiarski
On Mon, May 15, 2017 at 02:29:50PM +0100, Chris Wilson wrote: > All the requests at the same priority are executed in FIFO order. They > do not need to be stored in the rbtree themselves, as they are a simple > list within a level. If we move the requests at one priority into a list, > we can then

Re: [Intel-gfx] [PATCH v3] drm/i915: Split execlist priority queue into rbtree + linked list

2017-05-16 Thread Tvrtko Ursulin
On 15/05/2017 14:29, Chris Wilson wrote: All the requests at the same priority are executed in FIFO order. They do not need to be stored in the rbtree themselves, as they are a simple list within a level. If we move the requests at one priority into a list, we can then reduce the rbtree to the s