From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 39 +++
1 file changed, 39 inserti
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge_invalid that tests merging invalid fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 41 +
1 file changed, 41 insertions(+)
diff -
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies merging a fence with itself does not fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 27 +++
From: Robert Foss <robert.f...@collabora.com>
This subtest runs a single consumer thread and multiple producer thread that
are synchronized using multiple timelines.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that creating many timelines and merging random fences
from each timeline with eachother results in merged fences that are fully
functional.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_timeline_closed_signaled that verifies that a signaled fence
stays signaled after its timeline has been closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 18 ++
1 file
fence, it might get freed while still in
use. Usually a kernel panick will follow.
Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 28
1 file changed, 28 inserti
From: Robert Foss <robert.f...@collabora.com>
Add igt_require_sw_sync to provide tests to skip if sw_sync support isn't
available on the host machine.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 22 ++
lib/sw_sync.h | 1 +
2 files
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process, where the timeline fd has been sent through a UNIX socket.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_
From: Robert Foss <robert.f...@collabora.com>
Add subtest alloc_fence that verifies that it's possible to allocate a fence
on a timeline.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 16 ++
From: Robert Foss <robert.f...@collabora.com>
This test verifies that stressing the kernel by creating multiple
consumer/producer threads that wait on a single timeline to be incremented
by another conumer/producer thread does not fail.
And that the order amongst the threads is main
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that merging two fences works in the simples possible
case.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 23 +
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that the fences of a timeline are not signalled when
a timelne is closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 17 +
1 file changed, 17 insertions(+)
diff -
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting, timing out on a wait and that counting
fences in various states works.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge that tests merging fences and the validity of the
resulting merged fence.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies the access ordering of multiple consumer threads.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
Make sure that this test is skipped if the sw_sync feature is missing from
the host system.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 1 +
tests/sw_sync.c | 3 +++
2 files changed, 4 insertions(+)
diff
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting on fences works properly.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 37 +
On Tue, 2016-11-15 at 14:25 +0100, Tomeu Vizoso wrote:
> On 15 November 2016 at 09:01, Daniel Vetter wrote:
> >
> > On Mon, Nov 14, 2016 at 06:59:16PM +0900, Gustavo Padovan wrote:
> > >
> > > From: Gustavo Padovan
> > >
> > > Signed-off-by:
From: Robert Foss <robert.f...@collabora.com>
Add igt_require_sw_sync to provide tests to skip if sw_sync support isn't
available on the host machine.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 22 ++
lib/sw_sync.h | 1 +
2 files
From: Robert Foss <robert.f...@collabora.com>
Base functions to help testing the Sync File Framework (explicit fencing
mechanism ported from Android).
These functions allow you to create, use and destroy timelines and fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
From: Robert Foss <robert.f...@collabora.com>
This series implements the sw_sync test and the lib/sw_sync helper functions
for said test.
The sw_sync subtests range from very basic tests of the sw_sync functionality,
to stress testing and randomized tests.
Changes since v1:
Added &qu
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting, timing out on a wait and that counting
fences in various states works.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies merging a fence with itself does not fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 27 +++
From: Robert Foss <robert.f...@collabora.com>
Make sure that this test is skipped if the sw_sync feature is missing from
the host system.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 1 +
tests/sw_sync.c | 3 +++
2 files changed, 4 insertions(+)
diff
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that creating many timelines and merging random fences
from each timeline with eachother results in merged fences that are fully
functional.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies the access ordering of multiple consumer threads.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
Add subtest alloc_fence that verifies that it's possible to allocate a fence
on a timeline.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 16 ++
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that merging two fences works in the simples possible
case.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 23 +
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge that tests merging fences and the validity of the
resulting merged fence.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
On Fri, 2016-11-18 at 09:59 -0500, robert.f...@collabora.com wrote:
> From: Robert Foss <robert.f...@collabora.com>
>
This is not a resubmission of v6, but rather a mislabeled v7.
>
> This series implements the sw_sync test and the lib/sw_sync helper
> functions for said t
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge_invalid that tests merging invalid fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 41 +
1 file changed, 41 insertions(+)
diff -
From: Robert Foss <robert.f...@collabora.com>
This test verifies that stressing the kernel by creating multiple
consumer/producer threads that wait on a single timeline to be incremented
by another conumer/producer thread does not fail.
And that the order amongst the threads is main
From: Robert Foss <robert.f...@collabora.com>
This subtests tests that creating fences on negative timelines fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 7 +++
1 file changed, 7 inserti
fence, it might get freed while still in
use. Usually a kernel panick will follow.
Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 31 +++
1 file changed, 31 inserti
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process, where the timeline fd has been sent through a UNIX socket.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_timeline_closed_signaled that verifies that a signaled fence
stays signaled after its timeline has been closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 18 ++
1 file
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting on fences works properly.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 51 +
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 39 +++
1 file changed, 39 inserti
From: Robert Foss <robert.f...@collabora.com>
This subtest runs a single consumer thread and multiple producer thread that
are synchronized using multiple timelines.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that the fences of a timeline are not signalled when
a timelne is closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 17 +
1 file changed, 17 insertions(+)
diff -
y a kernel panick will follow.
> >
> > Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com>
> > Signed-off-by: Robert Foss <robert.f...@collabora.com>
> > ---
> > tests/sw_sync.c | 28
> > 1 file changed, 28 insertion
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies the access ordering of multiple consumer threads.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that the fences of a timeline are not signalled when
a timelne is closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 17 +
1 file changed, 17 insertions(+)
diff -
fence, it might get freed while still in
use. Usually a kernel panick will follow.
Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 31 +++
1 file changed, 31 inserti
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting, timing out on a wait and that counting
fences in various states works.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that merging two fences works in the simples possible
case.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 23 +
From: Robert Foss <robert.f...@collabora.com>
This subtests tests that creating fences on negative timelines fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 7 +++
1 file changed, 7 inserti
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that creating many timelines and merging random fences
from each timeline with eachother results in merged fences that are fully
functional.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric
From: Robert Foss <robert.f...@collabora.com>
This subtest runs a single consumer thread and multiple producer thread that
are synchronized using multiple timelines.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tes
From: Robert Foss <robert.f...@collabora.com>
This test verifies that stressing the kernel by creating multiple
consumer/producer threads that wait on a single timeline to be incremented
by another conumer/producer thread does not fail.
And that the order amongst the threads is main
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 39 +++
1 file changed, 39 inserti
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies merging a fence with itself does not fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 27 +++
From: Robert Foss <robert.f...@collabora.com>
Make sure that this test is skipped if the sw_sync feature is missing from
the host system.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 1 +
tests/sw_sync.c | 3 +++
2 files changed, 4 insertions(+)
diff
From: Robert Foss <robert.f...@collabora.com>
This series implements the sw_sync test and the lib/sw_sync helper functions
for said test.
The sw_sync subtests range from very basic tests of the sw_sync functionality,
to stress testing and randomized tests.
Changes since v1:
Added &qu
From: Robert Foss <robert.f...@collabora.com>
Base functions to help testing the Sync File Framework (explicit fencing
mechanism ported from Android).
These functions allow you to create, use and destroy timelines and fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
From: Robert Foss <robert.f...@collabora.com>
Add subtest alloc_fence that verifies that it's possible to allocate a fence
on a timeline.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 16 ++
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_timeline_closed_signaled that verifies that a signaled fence
stays signaled after its timeline has been closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 18 ++
1 file
From: Robert Foss <robert.f...@collabora.com>
This subtest verifies that waiting on fences works properly.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
tests/sw_sync.c | 51 +
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge that tests merging fences and the validity of the
resulting merged fence.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
---
te
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process, where the timeline fd has been sent through a UNIX socket.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_
From: Robert Foss <robert.f...@collabora.com>
Add igt_require_sw_sync to provide tests to skip if sw_sync support isn't
available on the host machine.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/sw_sync.c | 22 ++
lib/sw_sync.h | 1 +
2 files
From: Robert Foss <robert.f...@collabora.com>
Add subtest test_sync_merge_invalid that tests merging invalid fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/sw_sync.c | 41 +
1 file changed, 41 insertions(+)
diff -
Hi tomeu,
This patch does not seem to apply cleanly on upstream/master.
Rob.
> The kernel has now a new debugfs ABI that can also allow capturing
> frame
> CRCs for drivers other than i915.
>
> Add alternative codepaths so the new ABI is used if the kernel is
> recent
> enough, and fall back
Hi tomeu,
This series looks good to me, feel free to add my r-b.
Rob.
> Hi,
>
> kms_plane_scaling would happily try to use the cursor plane as if it
> was an
> overlay, and the first signal of it would be the kernel refusing the
> SetPlane
> call because of the pixel format not matching.
>
>
Base functions to help testing the Sync File Framework (explicit fencing
mechanism ported from Android).
These functions allow you to create, use and destroy timelines and fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Signed-off-by: Gustavo Padovan <gus
Add subtest alloc_fence that verifies that it's possible to allocate a fence
on a timeline.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 16 +
This subtests tests that creating fences on negative timelines fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 8
1 file cha
This subtest verifies that merging two fences works in the simples possible
case.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 23 +
ib/sw_sync:
- Extracted sw_sync path search from kernel_has_sw_sync
Rafael Antognolli (1):
tests/sw_sync: Add subtest test_sync_expired_merge
Robert Foss (20):
lib/sw_sync: Add helper functions for managing synchronization
primitives
test/sw_sync: Add sw_sync test
tests/sw_sync: Add
Add subtest test_timeline_closed_signaled that verifies that a signaled fence
stays signaled after its timeline has been closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 18 ++
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 39 +++
1 file changed, 3
This subtest runs a single consumer thread and multiple producer thread that
are synchronized using multiple timelines.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.
This subtest verifies that waiting on fences works properly.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
te
This test verifies that stressing the kernel by creating multiple
consumer/producer threads that wait on a single timeline to be incremented
by another conumer/producer thread does not fail.
And that the order amongst the threads is maintained.
Signed-off-by: Robert Foss <rober
Add subtest test_sync_busy_fork which increments the timeline in a forked child
process, where the timeline fd has been sent through a UNIX socket.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_
This subtest verifies that creating many timelines and merging random fences
from each timeline with eachother results in merged fences that are fully
functional.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by:
Add igt_require_sw_sync to provide tests to skip if sw_sync support isn't
available on the host machine.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
lib/sw_sync.c | 14 ++
lib/sw_sync.h | 1 +
2 files
Add subtest test_sync_merge_invalid that tests merging invalid fences.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 41 +
1 file changed, 41 insertions(+)
fence, it might get freed while still in
use. Usually a kernel panick will follow.
Signed-off-by: Rafael Antognolli <rafael.antogno...@intel.com>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
-
Add subtest test_sync_merge that tests merging fences and the validity of the
resulting merged fence.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
te
Add initial tests for sw_sync.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/Makefi
This subtest verifies that the fences of a timeline are not signalled when
a timelne is closed.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 17 +
1 file changed, 17 insertions(+)
This subtest verifies the access ordering of multiple consumer threads.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
te
This subtest verifies merging a fence with itself does not fail.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 27 +++
This subtest verifies that waiting, timing out on a wait and that counting
fences in various states works.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Eric Engestrom <e...@engestrom.ch>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
te
Make sure that this test is skipped if the sw_sync feature is missing from
the host system.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.viz...@collabora.com>
---
tests/sw_sync.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests
pick
a PRIMARY plane which was not the kernel's idea of crtc->primary,
causing plane_primary_legacy to fail; ditto for cursor.
Make find_plane try harder, by preferring to return planes which are
already on the requested CRTC.
Signed-off-by: Daniel Stone <dani...@collabora.com>
Reported-b
which was not the kernel's idea of crtc->primary,
causing plane_primary_legacy to fail; ditto for cursor.
Make find_plane try harder, by preferring to return planes which are
already on the requested CRTC.
Signed-off-by: Daniel Stone <dani...@collabora.com>
Reported-by: Robert Foss
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic_transition.c | 95 ++-
1 file changed, 85
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic_transition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 6 +++---
lib/igt_kms.h | 23 +++
2 files changed, 2
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
If the event never arrives we can timeout and end the test.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic_transition.c | 2 ++
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic.c | 123 -
1 file changed, 37
Add support dor the IN_FENCE_FD property to enable setting in fences for atomic
commits.
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 20
lib/igt_kms.h | 5 +
2 files changed, 25 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
lib/igt_kms.c | 34 +-
1 file changed, 17 insertions(+), 17 deleti
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic_transition.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
tests/kms_atomic.c | 186 ++---
1 file chang
: stress possible fence settings
tests/kms_atomic_transition: add fencing parameter to
run_transition_tests
tests/kms_atomic_transition: add out_fences tests
tests/kms_atomic_transition: add in_fences tests
tests/kms_atomic_transition: set out_fence for all crtcs
Robert Foss (1):
lib
From: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Add support for the OUT_FENCE_PTR property to enable setting out fences for
atomic commits.
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk>
Signed-off-by: Robert Foss <robert.f...@collabora.com>
---
501 - 600 of 702 matches
Mail list logo