These tests are based on the libsync test suite from Android.
This commit includes tests for basic fence creation.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_fence.c
that were rewritten to use the new userspace interfaces.
As usual, all comments are welcome.
Cheers!
Emilio
[0] https://lists.freedesktop.org/archives/dri-devel/2016-March/102204.html
Emilio López (9):
selftest: sync: basic tests for sw_sync framework
selftest: sync: fence tests for sw_sync
This test is based on the libsync test suite from Android.
This commit includes a stress test that replicates a
consumer/producer pattern.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../testing/selftest
This test is based on the libsync test suite from Android.
This commit includes a stress test that invokes operations
in parallel.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../selftest
These tests are based on the libsync test suite from Android.
This commit includes tests for waiting on fences.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_test.c | 1 +
tools/t
These tests are based on the libsync test suite from Android.
This commit includes tests for operations on destructed objects.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_destroyed.
This test is based on the libsync test suite from Android.
This commit includes a test to stress merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_stress_merge.c
These tests are based on the libsync test suite from Android.
This commit lays the ground for future tests, as well as includes
tests for a variety of basic allocation commands.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Emilio López <
One of the tests rely on a behaviour only observed on the driver currently
in use in Android. Disable it here until the behaviour is implemented
or it is decided it should not be implemented on the driver in mainline.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/t
These tests are based on the libsync test suite from Android.
This commit includes tests for basic merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_merge.
.uk>
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/sync.h | 119 ++
Admittedly I know nothing about the kernel selftests although copying
the UAPI header, seems to defeat the purpose of this exercise.
Shouldn
Hi,
El 28/03/16 a las 08:56, Emil Velikov escribió:
Hi Emilio,
On 9 March 2016 at 15:28, Emilio López <emilio.lo...@collabora.co.uk> wrote:
These tests are based on the libsync test suite from Android.
This commit lays the ground for future tests, as well as includes
tests for a v
Hi,
I somehow missed these emails back in the day, sorry for the delay in
replying.
El 09/03/16 a las 13:13, Shuah Khan escribió:
On 03/09/2016 08:28 AM, Emilio López wrote:
Hello everyone,
This is a series of tests to exercise the sync kernel infrastructure. It is
meant to be a test suite
El 09/03/16 a las 13:14, Shuah Khan escribió:
On 03/09/2016 08:29 AM, Emilio López wrote:
One of the tests rely on a behaviour only observed on the driver currently
in use in Android. Disable it here until the behaviour is implemented
or it is decided it should not be implemented on the driver
Hi Michael,
El 22/09/16 a las 06:43, Michael Ellerman escribió:
Emilio López <emilio.lo...@collabora.co.uk> writes:
+CFLAGS += -I../../../../include/uapi/
Please don't include the unprocessed uapi headers, they are not meant to
be directly included in userspace programs.
They even
are welcome.
Cheers!
Emilio
[0]
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-March/086932.html
Emilio López (7):
selftest: sync: basic tests for sw_sync framework
selftest: sync: fence tests for sw_sync framework
selftest: sync: merge tests for sw_sync framework
selftest
These tests are based on the libsync test suite from Android.
This commit lays the ground for future tests, as well as includes
tests for a variety of basic allocation commands.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/Makefile
This test is based on the libsync test suite from Android.
This commit includes a stress test that invokes operations
in parallel.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../selftest
This test is based on the libsync test suite from Android.
This commit includes a stress test that replicates a
consumer/producer pattern.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../testing/selftest
These tests are based on the libsync test suite from Android.
This commit includes tests for waiting on fences.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_test.c | 1 +
tools/testing/sel
These tests are based on the libsync test suite from Android.
This commit includes tests for basic merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_merge.
These tests are based on the libsync test suite from Android.
This commit includes tests for basic fence creation.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_fence.c
This test is based on the libsync test suite from Android.
This commit includes a test to stress merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_stress_merge.c
Hi,
El 27/09/16 a las 01:23, Michael Ellerman escribió:
Emilio López <emilio.lo...@collabora.co.uk> writes:
El 22/09/16 a las 06:43, Michael Ellerman escribió:
Emilio López <emilio.lo...@collabora.co.uk> writes:
Please don't include the *kernel* headers, they're really not mean
These tests are based on the libsync test suite from Android.
This commit lays the ground for future tests, as well as includes
tests for a variety of basic allocation commands.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/Makefile
These tests are based on the libsync test suite from Android.
This commit includes tests for basic fence creation.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_fence.c
These tests are based on the libsync test suite from Android.
This commit includes tests for basic merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
tools/testing/selftests/sync/sync_merge.
[0] https://patchwork.kernel.org/patch/9343347/
Emilio López (7):
selftest: sync: basic tests for sw_sync framework
selftest: sync: fence tests for sw_sync framework
selftest: sync: merge tests for sw_sync framework
selftest: sync: wait tests for sw_sync framework
selftest: sync: stress
This test is based on the libsync test suite from Android.
This commit includes a test to stress merge operations.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_stress_merge.c
This test is based on the libsync test suite from Android.
This commit includes a stress test that invokes operations
in parallel.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../selftest
These tests are based on the libsync test suite from Android.
This commit includes tests for waiting on fences.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile| 1 +
tools/testing/selftests/sync/sync_test.c | 1 +
tools/testing/sel
This test is based on the libsync test suite from Android.
This commit includes a stress test that replicates a
consumer/producer pattern.
Signed-off-by: Emilio López <emilio.lo...@collabora.co.uk>
---
tools/testing/selftests/sync/Makefile | 1 +
.../testing/selftest
32 matches
Mail list logo