Re: [Intel-gfx] [i-g-t PATCH 2/6] igt_aux: Add some list helpers from the kernel

2016-11-25 Thread Chris Wilson
On Fri, Nov 25, 2016 at 01:40:31PM +0200, Abdiel Janulgue wrote: > Since we're going to be using lists for keeping track of spinners > add some generic list helpers from the kernel. I should also say look at the chamelium patches so that we only have to import a circular list once (i.e. make sure

Re: [Intel-gfx] [i-g-t PATCH 2/6] igt_aux: Add some list helpers from the kernel

2016-11-25 Thread Chris Wilson
On Fri, Nov 25, 2016 at 01:40:31PM +0200, Abdiel Janulgue wrote: > Since we're going to be using lists for keeping track of spinners > add some generic list helpers from the kernel. > > Signed-off-by: Abdiel Janulgue > --- > lib/igt_aux.c | 39 +++ > lib/igt_a

[Intel-gfx] [i-g-t PATCH 2/6] igt_aux: Add some list helpers from the kernel

2016-11-25 Thread Abdiel Janulgue
Since we're going to be using lists for keeping track of spinners add some generic list helpers from the kernel. Signed-off-by: Abdiel Janulgue --- lib/igt_aux.c | 39 +++ lib/igt_aux.h | 46 ++ 2 files changed, 85 i