Re: [Intel-gfx] [PATCH i-g-t v3 11/11] tests/kms_atomic_transition: add in_fences tests

2017-01-31 Thread Robert Foss
On 2017-01-31 11:52 AM, Brian Starkey wrote: On Mon, Jan 30, 2017 at 08:58:47PM -0500, Robert Foss wrote: 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...@collabo

[Intel-gfx] [PATCH i-g-t v4 07/11] tests/kms_atomic: stress possible fence settings

2017-01-31 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> ---

[Intel-gfx] [PATCH i-g-t v4 08/11] tests/kms_atomic_transition: add fencing parameter to run_transition_tests

2017-01-31 Thread 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 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[Intel-gfx] [PATCH i-g-t v4 09/11] tests/kms_atomic_transition: add out_fences tests

2017-01-31 Thread Robert Foss
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 16 + tests/kms_atomic_transition.c | 153 -- 2 files changed, 164 insertions(+),

[Intel-gfx] [PATCH i-g-t v4 01/11] tests/kms_atomic_transition: use igt timeout instead of blocking

2017-01-31 Thread Robert Foss
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 ++

[Intel-gfx] [PATCH i-g-t v4 04/11] tests/kms_atomic: use global atomic properties definitions

2017-01-31 Thread 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.c | 123 - 1 file changed, 37

[Intel-gfx] [PATCH i-g-t v4 05/11] lib/igt_kms: Add support for the IN_FENCE_FD property

2017-01-31 Thread Robert Foss
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 | 25 + lib/igt_kms.h | 5 + 2 files changed, 30 insertions(+) diff --git a/lib/igt_kms.c

[Intel-gfx] [PATCH i-g-t v4 00/11] tests/kms_atomic_transition add fence testing

2017-01-31 Thread Robert Foss
ameter to run_transition_tests tests/kms_atomic_transition: add in_fences tests Robert Foss (3): lib/igt_kms: Add support for the IN_FENCE_FD property tests/kms_atomic_transition: add out_fences tests lib/igt_kms: Added igt_pipe_get_last_out_fence() lib/igt_kms.c | 115 +--- lib/igt

[Intel-gfx] [PATCH i-g-t v4 06/11] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2017-01-31 Thread Robert Foss
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> ---

[Intel-gfx] [PATCH i-g-t v4 11/11] lib/igt_kms: Added igt_pipe_get_last_out_fence()

2017-01-31 Thread Robert Foss
Added the igt_pipe_get_last_out_fence() helper function that wraps accesses to pipe->fence_out. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 8 lib/igt_kms.h | 1 + 2 files changed, 9 insertions(+) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index

[Intel-gfx] [PATCH i-g-t v4 02/11] lib/igt_kms: move igt_kms_get_alt_edid() to the right place

2017-01-31 Thread 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> --- lib/igt_kms.c | 34 +- 1 file changed, 17 insertions(+), 17 deleti

[Intel-gfx] [PATCH i-g-t v4 03/11] lib/igt_kms: export properties names

2017-01-31 Thread 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> --- lib/igt_kms.c | 6 +++--- lib/igt_kms.h | 23 +++ 2 files changed, 2

Re: [Intel-gfx] [PATCH i-g-t v3 00/11] tests/kms_atomic_transition add fence testing

2017-01-31 Thread Robert Foss
On 2017-01-31 05:18 AM, Chris Wilson wrote: On Mon, Jan 30, 2017 at 08:58:36PM -0500, Robert Foss wrote: This series adds in/out fence testing to kms_atomic_transition test and makes some minor cleanups. This series is rebased ontop of the dyn_n_planes_v3 series. This series can be found

Re: [Intel-gfx] [PATCH i-g-t] tests/chamelium: Adapt to dynamic number of planes changes

2017-02-01 Thread Robert Foss
This looks good to me, feel free to add my r-b. Rob. On 2017-02-01 05:56 AM, Petri Latvala wrote: CC: Robert Foss <robert.f...@collabora.com> CC: Lyude <ly...@redhat.com> Signed-off-by: Petri Latvala <petri.latv...@intel.com> --- tests/chamelium.c | 10 +- 1 file cha

Re: [Intel-gfx] [PATCH] tests/kms_plane_multiple: Test only with maximum number of planes

2017-02-01 Thread Robert Foss
of available planes. This reduces the total number of subtests. Cc: Robert Foss <robert.f...@collabora.com> Signed-off-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_plane_multiple.c | 91 +++--- 1 file changed, 37 insertions(+), 54 deletions(-)

Re: [Intel-gfx] [PATCH i-g-t v4 09/11] tests/kms_atomic_transition: add out_fences tests

2017-02-01 Thread Robert Foss
On 2017-02-01 05:40 AM, Brian Starkey wrote: On Tue, Jan 31, 2017 at 08:25:18PM -0500, Robert Foss wrote: Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 16

Re: [Intel-gfx] [PATCH i-g-t v4 05/11] lib/igt_kms: Add support for the IN_FENCE_FD property

2017-02-01 Thread Robert Foss
On 2017-02-01 05:39 AM, Brian Starkey wrote: On Tue, Jan 31, 2017 at 08:25:14PM -0500, Robert Foss wrote: Add support dor the IN_FENCE_FD property to enable setting in fences for atomic commits. trivial... s/dor/for/ Thanks, coming up in v5. Rob. Signed-off-by: Robert Foss <rober

Re: [Intel-gfx] [PATCH i-g-t v4 06/11] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2017-02-01 Thread Robert Foss
On 2017-02-01 05:40 AM, Brian Starkey wrote: On Tue, Jan 31, 2017 at 08:25:15PM -0500, Robert Foss wrote: 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 P

[Intel-gfx] [PATCH i-g-t v5 04/10] tests/kms_atomic: use global atomic properties definitions

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> ---

[Intel-gfx] [PATCH i-g-t v5 09/10] tests/kms_atomic_transition: add out_fences tests

2017-02-01 Thread Robert Foss
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- lib/igt_kms.c | 17 + tests/kms_atomic_

[Intel-gfx] [PATCH i-g-t v5 10/10] tests/kms_atomic_transition: add in_fences tests

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- lib/igt_kms.c

[Intel-gfx] [PATCH i-g-t v5 02/10] lib/igt_kms: move igt_kms_get_alt_edid() to the right place

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- lib/igt_kms.c | 34 +-

[Intel-gfx] [PATCH i-g-t v5 08/10] tests/kms_atomic_transition: add fencing parameter to run_transition_tests

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- tests/kms_atomic_transition.c | 10 +

[Intel-gfx] [PATCH i-g-t v5 00/10] tests/kms_atomic_transition add fence testing

2017-02-01 Thread Robert Foss
mic: use global atomic properties definitions lib/igt_kms: Add support for the OUT_FENCE_PTR property tests/kms_atomic: stress possible fence settings tests/kms_atomic_transition: add fencing parameter to run_transition_tests tests/kms_atomic_transition: add in_fences tests Robert

[Intel-gfx] [PATCH i-g-t v5 07/10] tests/kms_atomic: stress possible fence settings

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> ---

[Intel-gfx] [PATCH i-g-t v5 05/10] lib/igt_kms: Add support for the IN_FENCE_FD property

2017-02-01 Thread Robert Foss
Add support for the IN_FENCE_FD property to enable setting in fences for atomic commits. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- lib/igt_kms.c | 25 + lib/igt_kms.h | 5 + 2 files

[Intel-gfx] [PATCH i-g-t v5 01/10] tests/kms_atomic_transition: use igt timeout instead of blocking

2017-02-01 Thread Robert Foss
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> Reviewed-by: Brian Starkey <

[Intel-gfx] [PATCH i-g-t v5 03/10] lib/igt_kms: export properties names

2017-02-01 Thread 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> Reviewed-by: Brian Starkey <brian.star...@arm.com> --- lib/igt_kms.c | 6 ++

[Intel-gfx] [PATCH i-g-t v5 06/10] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2017-02-01 Thread Robert Foss
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> Reviewed

Re: [Intel-gfx] [PATCH i-g-t v4 00/11] tests/kms_atomic_transition add fence testing

2017-02-01 Thread Robert Foss
while before pushing it upstream. Rob. P.S. Immediately after hitting send I realised I should have trimmed that blob from my reply. Sorry for bouncing that back to everyone! On Tue, Jan 31, 2017 at 08:25:09PM -0500, Robert Foss wrote: This series adds in/out fence testing to kms_atomic_tran

Re: [Intel-gfx] [PATCH i-g-t v3 07/11] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2017-01-31 Thread Robert Foss
On 2017-01-31 11:49 AM, Brian Starkey wrote: On Mon, Jan 30, 2017 at 08:58:43PM -0500, Robert Foss wrote: 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 P

Re: [Intel-gfx] [PATCH i-g-t v3 08/11] tests/kms_atomic: stress possible fence settings

2017-01-31 Thread Robert Foss
On 2017-01-31 11:50 AM, Brian Starkey wrote: This one lgtm, just need to swap all the uint64_t out_fence_ptrs for int32_t. -Brian Fixed in v4. Rob. On Mon, Jan 30, 2017 at 08:58:44PM -0500, Robert Foss wrote: From: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Sign

Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_plane_multiple: Test only with maximum number of planes

2017-02-02 Thread Robert Foss
Reviewed-by: Robert Foss <robert.f...@collabora.com> On 2017-02-02 06:12 AM, Mika Kahola wrote: To be more suitable for BAT testing, let's modify the test such a way that it only uses the maximum number of available planes. This reduces the total number of subtests. v2: Fix

Re: [Intel-gfx] [PATCH i-g-t v1 04/32] lib/igt_kms: Implement dynamic plane count support

2017-01-23 Thread Robert Foss
of the test fixes into this patch. Which does sound like the worse option to me. Rob. On Fri, 2017-01-20 at 12:45 -0500, Robert Foss wrote: In upcoming drm-misc-next changes, the number of planes per pipe has been increased as more than one primary plane can be associated with a pipe. The simple fix

[Intel-gfx] [PATCH i-g-t v3 29/33] tests/kms_vblank: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_vblank.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/

[Intel-gfx] [PATCH i-g-t v3 30/33] tests/prime_mmap_kms: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/prime_mmap_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 33/33] lib/igt_kms: Remove code obsoleted by dyn n_planes implementation

2017-01-30 Thread Robert Foss
Due to the dyn n_planes implementation some attributes and functions were made obsolete and cand be removed. However to keep all of the tests building the obsolete code is removed after all of the tests have been made compatible with the dyn n_planes changes. Signed-off-by: Robert Foss <rober

[Intel-gfx] [PATCH i-g-t v3 20/33] tests/kms_plane_multiple: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_plane_multiple.c | 232 - 1 file changed, 14

[Intel-gfx] [PATCH i-g-t v3 28/33] tests/kms_universal_plane: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_universal_plane.c | 18 +- 1 file changed, 9 insertions(+), 9 deleti

[Intel-gfx] [PATCH i-g-t v3 26/33] tests/kms_rotation_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_rotation_crc.c | 63 1 file changed, 3

[Intel-gfx] [PATCH i-g-t v3 21/33] tests/kms_plane_scaling: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_plane_scaling.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[Intel-gfx] [PATCH i-g-t v3 22/33] tests/kms_properties: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_properties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 23/33] tests/kms_psr_sink_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_psr_sink_crc.c | 52 +--- 1 file changed, 2

[Intel-gfx] [PATCH i-g-t v3 19/33] tests/kms_plane: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_plane.c | 96 ++- 1 file changed, 5

[Intel-gfx] [PATCH i-g-t v3 25/33] tests/kms_rmfb: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_rmfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_rm

[Intel-gfx] [PATCH i-g-t v3 14/33] tests/kms_legacy_colorkey: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_legacy_colorkey.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 24/33] tests/kms_pwrite_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_pwrite_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 27/33] tests/kms_sink_crc_basic: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_sink_crc_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 32/33] tests/kms_plane_lowres: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_plane_lowres.c | 27 +-- 1 file changed, 21 insertions(+),

[Intel-gfx] [PATCH i-g-t v3 16/33] tests/kms_mmio_vs_cs_flip: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_mmio_vs_cs_flip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 18/33] tests/kms_pipe_color: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_pipe_color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 12/33] tests/kms_fence_pin_leak: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_fence_pin_leak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 31/33] tests/kms_ccs: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_ccs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests

[Intel-gfx] [PATCH i-g-t v3 17/33] tests/kms_panel_fitting: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_panel_fitting.c | 16 1 file changed, 8 insertions(+), 8 deletions(-)

[Intel-gfx] [PATCH i-g-t v1] lib/drmtest: Add comment explaining DRIVER_ANY excluding DRIVER_VGEM

2017-01-30 Thread Robert Foss
Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/drmtest.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/drmtest.h b/lib/drmtest.h index 19d4bd19..c9c019c0 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -42,8 +42,15 @@ #define DRIVER_VC4 (1 <<

[Intel-gfx] [PATCH i-g-t v3 06/33] tests/kms_busy: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_busy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/

[Intel-gfx] [PATCH i-g-t v3 05/33] tests/kms_atomic_transition: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_atomic_transition.c | 27 +-- 1 file changed, 13 insertions(+),

[Intel-gfx] [PATCH i-g-t v3 04/33] lib/igt_kms: Implement dynamic plane count support

2017-01-30 Thread Robert Foss
for dynamic number of planes per pipe to i-g-t. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- lib/igt_kms.c | 160 -- lib/igt_kms.h | 37 -- 2 files changed, 14

[Intel-gfx] [PATCH i-g-t v3 09/33] tests/kms_cursor_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_cursor_crc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 13/33] tests/kms_flip_event_leak: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_flip_event_leak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 03/33] lib/igt_kms: Rename kmstest properties nplanes and plane

2017-01-30 Thread Robert Foss
Rename these properties to have them use the same naming convention as the igt_*_t structs. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- lib/igt_kms.c| 16 +--- lib/igt_kms.h| 4

[Intel-gfx] [PATCH i-g-t v3 10/33] tests/kms_cursor_legacy: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_cursor_legacy.c | 32 ++-- 1 file changed, 18 inser

[Intel-gfx] [PATCH i-g-t v3 02/33] lib/igt_kms: Avoid depencency on static plane count

2017-01-30 Thread Robert Foss
Rework kmstest_crtc and kmstest_plane structs and their usage to not depend on a static plane count. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- lib/igt_kms.c | 47 ++- lib/ig

[Intel-gfx] [PATCH i-g-t v3 01/33] lib/igt_kms: Add index property to kmstest_plane struct

2017-01-30 Thread Robert Foss
Add an index property which helps accessing the corresponding igt_plane_t structure through the igt_*_get_plane() functions. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- lib/igt_kms.c| 12 ++-- l

[Intel-gfx] [PATCH i-g-t v3 00/33] lib/igt_kms: Implement dynamic plane count support

2017-01-30 Thread Robert Foss
- Check allocations for failures Robert Foss (33): lib/igt_kms: Add index property to kmstest_plane struct lib/igt_kms: Avoid depencency on static plane count lib/igt_kms: Rename kmstest properties nplanes and plane lib/igt_kms: Implement dynamic plane count support tests/kms_atomic_t

[Intel-gfx] [PATCH i-g-t v3 08/33] tests/kms_crtc_background_color: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_crtc_background_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 15/33] tests/kms_mmap_write_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_mmap_write_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[Intel-gfx] [PATCH i-g-t v3 07/33] tests/kms_chv_cursor_fail: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_chv_cursor_fail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 11/33] tests/kms_fbc_crc: Add support for dynamic number of planes

2017-01-30 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> Reviewed-by: Mika Kahola <mika.kah...@intel.com> --- tests/kms_fbc_crc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff -

[Intel-gfx] [PATCH i-g-t v3 04/11] tests/kms_atomic: use global atomic properties definitions

2017-01-30 Thread 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.c | 123 - 1 file changed, 37

[Intel-gfx] [PATCH i-g-t v3 06/11] lib/igt_kms: Add support for the IN_FENCE_FD property

2017-01-30 Thread Robert Foss
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

[Intel-gfx] [PATCH i-g-t v3 03/11] lib/igt_kms: export properties names

2017-01-30 Thread 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> --- lib/igt_kms.c | 6 +++--- lib/igt_kms.h | 23 +++ 2 files changed, 2

[Intel-gfx] [PATCH i-g-t v3 07/11] lib/igt_kms: Add support for the OUT_FENCE_PTR property

2017-01-30 Thread Robert Foss
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> ---

[Intel-gfx] [PATCH i-g-t v3 05/11] lib/igt_kms: Added igt_pipe_get_last_out_fence()

2017-01-30 Thread Robert Foss
Added the igt_pipe_get_last_out_fence() helper function that wraps accesses to pipe->fence_out. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 8 lib/igt_kms.h | 1 + 2 files changed, 9 insertions(+) diff --git a/lib/igt_kms.c b/lib/igt_kms.c index

[Intel-gfx] [PATCH i-g-t v3 10/11] tests/kms_atomic_transition: add out_fences tests

2017-01-30 Thread Robert Foss
Signed-off-by: Gustavo Padovan <gustavo.pado...@collabora.co.uk> Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 35 ++ tests/kms_atomic_transition.c | 148 ++ 2 files changed, 169 inser

[Intel-gfx] [PATCH i-g-t v3 08/11] tests/kms_atomic: stress possible fence settings

2017-01-30 Thread 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.c | 187 ++--- 1 file chang

[Intel-gfx] [PATCH i-g-t v3 09/11] tests/kms_atomic_transition: add fencing parameter to run_transition_tests

2017-01-30 Thread 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 | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[Intel-gfx] [PATCH i-g-t v3 00/11] tests/kms_atomic_transition add fence testing

2017-01-30 Thread Robert Foss
atomic properties definitions lib/igt_kms: Add support for the OUT_FENCE_PTR property tests/kms_atomic: stress possible fence settings tests/kms_atomic_transition: add fencing parameter to run_transition_tests tests/kms_atomic_transition: add in_fences tests Robert Foss (3): lib/i

[Intel-gfx] [PATCH i-g-t v3 02/11] lib/igt_kms: move igt_kms_get_alt_edid() to the right place

2017-01-30 Thread 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> --- lib/igt_kms.c | 34 +- 1 file changed, 17 insertions(+), 17 deleti

[Intel-gfx] [PATCH i-g-t v3 01/11] tests/kms_atomic_transition: use igt timeout instead of blocking

2017-01-30 Thread Robert Foss
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 ++

[Intel-gfx] [PATCH i-g-t v3 11/11] tests/kms_atomic_transition: add in_fences tests

2017-01-30 Thread 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> --- lib/igt_kms.c | 3 +++ tests/kms_atomic

Re: [Intel-gfx] [PATCH i-g-t] lib/drmtest: make DRIVER_ANY match any driver

2017-01-27 Thread Robert Foss
Thanks Eric, This does looks like a reasonable change to me. I don't think there are any legacy reasons for excluding VGEM from testing in DRIVER_ANY compatible tests. On 2017-01-24 10:27 AM, Eric Engestrom wrote: Signed-off-by: Eric Engestrom --- Not tested or

[Intel-gfx] [PATCH i-g-t v2 24/33] tests/kms_pwrite_crc: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_pwrite_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_pwrite_crc.c b/tests/kms_pwrite_crc.c index b6

[Intel-gfx] [PATCH i-g-t v2 30/33] tests/prime_mmap_kms: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/prime_mmap_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prime_mmap_kms.c b/tests/prime_mmap_kms.c index a2

[Intel-gfx] [PATCH i-g-t v2 21/33] tests/kms_plane_scaling: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_plane_scaling.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/kms_plane_scaling.c b

[Intel-gfx] [PATCH i-g-t v2 33/33] lib/igt_kms: Remove code obsoleted by dyn n_planes implementation

2017-01-24 Thread Robert Foss
Due to the dyn n_planes implementation some attributes and functions were made obsolete and cand be removed. However to keep all of the tests building the obsolete code is removed after all of the tests have been made compatible with the dyn n_planes changes. Signed-off-by: Robert Foss <rober

[Intel-gfx] [PATCH i-g-t v2 17/33] tests/kms_panel_fitting: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_panel_fitting.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/kms_panel_fitting.c b

[Intel-gfx] [PATCH i-g-t v2 27/33] tests/kms_sink_crc_basic: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_sink_crc_basic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_sink_crc_basic.c b/tests/kms_sink_crc_basic.c

[Intel-gfx] [PATCH i-g-t v2 03/33] lib/igt_kms: Rename kmstest properties nplanes and plane

2017-01-24 Thread Robert Foss
Rename these properties to have them use the same naming convention as the igt_*_t structs. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c| 16 +--- lib/igt_kms.h| 4 ++-- tests/kms_plane_lowres.c | 10 +- 3 files chang

[Intel-gfx] [PATCH i-g-t v2 11/33] tests/kms_fbc_crc: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_fbc_crc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/kms_fbc_crc.c b/tests/kms_fbc_crc.c index a6

[Intel-gfx] [PATCH i-g-t v2 08/33] tests/kms_crtc_background_color: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_crtc_background_color.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_crtc_background_color.c b

[Intel-gfx] [PATCH i-g-t v2 26/33] tests/kms_rotation_crc: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_rotation_crc.c | 63 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a

[Intel-gfx] [PATCH i-g-t v2 25/33] tests/kms_rmfb: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_rmfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_rmfb.c b/tests/kms_rmfb.c index 17a3065a..5753d74c

[Intel-gfx] [PATCH i-g-t v2 16/33] tests/kms_mmio_vs_cs_flip: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_mmio_vs_cs_flip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kms_mmio_vs_cs_flip.c b/tests/kms_mmio_vs_cs_

[Intel-gfx] [PATCH i-g-t v2 31/33] tests/kms_ccs: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_ccs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c index 047a3e87..11acda89

[Intel-gfx] [PATCH i-g-t v2 10/33] tests/kms_cursor_legacy: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_cursor_legacy.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/tests/kms_cursor_lega

[Intel-gfx] [PATCH i-g-t v2 14/33] tests/kms_legacy_colorkey: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_legacy_colorkey.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/kms_legacy_colorkey.c b/tests/kms_legacy_colo

[Intel-gfx] [PATCH i-g-t v2 09/33] tests/kms_cursor_crc: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_cursor_crc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c

[Intel-gfx] [PATCH i-g-t v2 05/33] tests/kms_atomic_transition: Add support for dynamic number of planes

2017-01-24 Thread Robert Foss
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- tests/kms_atomic_transition.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/tests/kms_atomic_transiti

[Intel-gfx] [PATCH i-g-t v2 02/33] lib/igt_kms: Avoid depencency on static plane count

2017-01-24 Thread Robert Foss
Rework kmstest_crtc and kmstest_plane structs and their usage to not depend on a static plane count. Signed-off-by: Robert Foss <robert.f...@collabora.com> --- lib/igt_kms.c | 47 ++- lib/igt_kms.h | 4 ++-- 2 files changed, 32 insertions(

<    1   2   3   4   5   6   7   8   >