[Intel-gfx] [PATCH 06/34] drm: Add a simple linear congruent generator PRNG

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Dec 13 19:39:06 UTC 2016


Hello,

On Tuesday 13 Dec 2016 16:16:41 David Herrmann wrote:
> On Mon, Dec 12, 2016 at 12:53 PM, Chris Wilson wrote:
> > For testing, we want a reproducible PRNG, a plain linear congruent
> > generator is suitable for our very limited selftests.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

This doesn't seem very DRM-specific, is there a reason why we can't use the 
ansi_cprng already present in the kernel ?

-- 
Regards,

Laurent Pinchart



More information about the Intel-gfx mailing list