[Intel-gfx] [PATCH] drm/i915/selftests: Extract random_offset() for use with a prng
Matthew Auld
matthew.auld at intel.com
Wed Oct 2 12:49:21 UTC 2019
On 02/10/2019 13:24, Chris Wilson wrote:
> For selftests, we desire repeatability and so prefer using a prng with
> known seed over true randomness. Extract random_offset() as a selftest
> utility that can take the prng state.
>
> Suggested-by: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list