[PATCH v2 07/40] drm: Add a simple generator of random permutations

2016-12-16 Thread Joonas Lahtinen
On pe, 2016-12-16 at 07:46 +, Chris Wilson wrote: > When testing, we want a random but yet reproducible order in which to > process elements. Here we create an array which is a random (using the > Tausworthe PRNG) permutation of the order in which to execute. > > v2: Tidier code by David Herrm

[PATCH v2 07/40] drm: Add a simple generator of random permutations

2016-12-16 Thread Chris Wilson
When testing, we want a random but yet reproducible order in which to process elements. Here we create an array which is a random (using the Tausworthe PRNG) permutation of the order in which to execute. v2: Tidier code by David Herrmann Signed-off-by: Chris Wilson Cc: Joonas Lahtinen Cc: David