[Intel-gfx] [PATCH i-g-t] [Intel-gfx, v2] tests/gem_buffered_svm: Buffered SVM tests

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 9 08:41:23 UTC 2016


On Tue, Mar 08, 2016 at 09:58:13AM -0800, Vinay Belgaumkar wrote:
> These tests were initially reviewed/merged under the gem_softpin title.
> They use softpinning and userptr mechanism to share buffers between
> CPU and GPU.
> 
> The userptr part was decoupled from them recently. Adding these tests
> under a different name to ensure buffered SVM usage testing.
> 
> The only change made was to instantiate the drm fd in the main instead
> of every subtest.
> 
> v2: Addressed all comments, removed duplicate tests/functions as suggested

You still haven't fixed the bugs. Hint, try writing a test for
concurrent read-read access between the client and the GPU. Or try
writing a swap test.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list