Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_flip: Adjust tolerance when counting frames

2016-05-12 Thread Jani Nikula
On Wed, 11 May 2016, Gabriel Feceoru wrote: > On 10.05.2016 18:39, Jani Nikula wrote: >> On Tue, 10 May 2016, Gabriel Feceoru wrote: >>> If count == 100 and expected == 99 this condition fails (99*101/100 = >>> 99.99). >>> >>> (v2): Increased the tolerance range, as suggested by Jani. >>> >>> Cc

Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_flip: Adjust tolerance when counting frames

2016-05-11 Thread Gabriel Feceoru
On 10.05.2016 18:39, Jani Nikula wrote: On Tue, 10 May 2016, Gabriel Feceoru wrote: If count == 100 and expected == 99 this condition fails (99*101/100 = 99.99). (v2): Increased the tolerance range, as suggested by Jani. Cc: Jani Nikula Cc: Daniel Vetter Signed-off-by: Gabriel Feceoru --

Re: [Intel-gfx] [PATCH i-g-t v2] tests/kms_flip: Adjust tolerance when counting frames

2016-05-10 Thread Jani Nikula
On Tue, 10 May 2016, Gabriel Feceoru wrote: > If count == 100 and expected == 99 this condition fails (99*101/100 = 99.99). > > (v2): Increased the tolerance range, as suggested by Jani. > > Cc: Jani Nikula > Cc: Daniel Vetter > Signed-off-by: Gabriel Feceoru > --- > tests/kms_flip.c | 2 +- >

[Intel-gfx] [PATCH i-g-t v2] tests/kms_flip: Adjust tolerance when counting frames

2016-05-10 Thread Gabriel Feceoru
If count == 100 and expected == 99 this condition fails (99*101/100 = 99.99). (v2): Increased the tolerance range, as suggested by Jani. Cc: Jani Nikula Cc: Daniel Vetter Signed-off-by: Gabriel Feceoru --- tests/kms_flip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/te