Re: [Intel-gfx] [PATCH v2] drm/i915: Import the kfence selftests for i915_sw_fence

2017-05-17 Thread Mika Kuoppala
Chris Wilson writes: > A long time ago, I wrote some selftests for the struct kfence idea. Now > that we have infrastructure in i915/igt for running kselftests, include > some for i915_sw_fence. > > Signed-off-by: Chris Wilson Only minor thing that caught my eye was that I would have preferred:

Re: [Intel-gfx] [PATCH v2] drm/i915: Import the kfence selftests for i915_sw_fence

2017-05-17 Thread Mika Kuoppala
Chris Wilson writes: > On Mon, May 15, 2017 at 11:52:55AM +0100, Chris Wilson wrote: >> A long time ago, I wrote some selftests for the struct kfence idea. Now >> that we have infrastructure in i915/igt for running kselftests, include >> some for i915_sw_fence. >> >> Signed-off-by: Chris Wilson

Re: [Intel-gfx] [PATCH v2] drm/i915: Import the kfence selftests for i915_sw_fence

2017-05-16 Thread Chris Wilson
On Mon, May 15, 2017 at 11:52:55AM +0100, Chris Wilson wrote: > A long time ago, I wrote some selftests for the struct kfence idea. Now > that we have infrastructure in i915/igt for running kselftests, include > some for i915_sw_fence. > > Signed-off-by: Chris Wilson Anyone want to stamp these?

[Intel-gfx] [PATCH v2] drm/i915: Import the kfence selftests for i915_sw_fence

2017-05-15 Thread Chris Wilson
A long time ago, I wrote some selftests for the struct kfence idea. Now that we have infrastructure in i915/igt for running kselftests, include some for i915_sw_fence. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/Kconfig.debug | 12 + drivers/gpu/drm/i915/i915_sw_fence.c