On Fri, Jan 13, 2017 at 10:59:52AM +0200, Joonas Lahtinen wrote:
> On ke, 2017-01-11 at 21:09 +, Chris Wilson wrote:
> > + struct i915_address_space *vm,
> > + u64 hole_start, u64 hole_end)
> > +{
> > + I915_RND_STATE(prng);
>
> Just to remind that this prng
On ke, 2017-01-11 at 21:09 +, Chris Wilson wrote:
> Test the low-level i915_address_space interfaces to sanity check the
> live insertion/removal of address ranges.
>
> Signed-off-by: Chris Wilson
> +static u64 scale(u64 offset, unsigned int shift)
> +{
> + return offset << shift;
> +}
Test the low-level i915_address_space interfaces to sanity check the
live insertion/removal of address ranges.
Signed-off-by: Chris Wilson
---
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 140 ++
1 file changed, 140 insertions(+)
diff --git a/drivers/gpu/drm/i915/self