aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-10-02 13:24:30 +0100
committerChris Wilson <[email protected]>2019-10-02 15:30:44 +0100
commitdfe324f34c53af095bfe54b322e1a338421a6b0e (patch)
tree639ee1e19db8928a78e87ebfe106a09bf8f95169 /lib/mpi/mpi-cmp.c
parent006e570128f413759b9df64b51bae79903679c9b (diff)
drm/i915/selftests: Extract random_offset() for use with a prng
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 <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions