All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations
@ 2017-01-12 11:12 Mika Kahola
  2017-01-12 11:20 ` Jani Nikula
  2017-01-12 11:53 ` Maarten Lankhorst
  0 siblings, 2 replies; 5+ messages in thread
From: Mika Kahola @ 2017-01-12 11:12 UTC (permalink / raw)
  To: intel-gfx

In CI system, the default 64 iterations of this test may cause CRC overflow
warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg
warning noise in minimum, let's run this test only once by default.

Signed-off-by: Mika Kahola <mika.kahola@intel.com>
---
 tests/kms_plane_multiple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
index 5e12be4..b94ec36 100644
--- a/tests/kms_plane_multiple.c
+++ b/tests/kms_plane_multiple.c
@@ -62,7 +62,7 @@ struct {
 	bool user_seed;
 	int seed;
 } opt = {
-	.iterations = 64,
+	.iterations = 1,
 	.user_seed = false,
 	.seed = 1,
 };
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations
  2017-01-12 11:12 [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations Mika Kahola
@ 2017-01-12 11:20 ` Jani Nikula
  2017-01-12 11:53 ` Maarten Lankhorst
  1 sibling, 0 replies; 5+ messages in thread
From: Jani Nikula @ 2017-01-12 11:20 UTC (permalink / raw)
  To: Mika Kahola, intel-gfx

On Thu, 12 Jan 2017, Mika Kahola <mika.kahola@intel.com> wrote:
> In CI system, the default 64 iterations of this test may cause CRC overflow
> warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg
> warning noise in minimum, let's run this test only once by default.

Please give an example of the warnings.

BR,
Jani.


>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
>  tests/kms_plane_multiple.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
> index 5e12be4..b94ec36 100644
> --- a/tests/kms_plane_multiple.c
> +++ b/tests/kms_plane_multiple.c
> @@ -62,7 +62,7 @@ struct {
>  	bool user_seed;
>  	int seed;
>  } opt = {
> -	.iterations = 64,
> +	.iterations = 1,
>  	.user_seed = false,
>  	.seed = 1,
>  };

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations
  2017-01-12 11:12 [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations Mika Kahola
  2017-01-12 11:20 ` Jani Nikula
@ 2017-01-12 11:53 ` Maarten Lankhorst
  2017-01-12 12:00   ` Chris Wilson
  1 sibling, 1 reply; 5+ messages in thread
From: Maarten Lankhorst @ 2017-01-12 11:53 UTC (permalink / raw)
  To: Mika Kahola, intel-gfx

Op 12-01-17 om 12:12 schreef Mika Kahola:
> In CI system, the default 64 iterations of this test may cause CRC overflow
> warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg
> warning noise in minimum, let's run this test only once by default.
>
> Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> ---
>  tests/kms_plane_multiple.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
> index 5e12be4..b94ec36 100644
> --- a/tests/kms_plane_multiple.c
> +++ b/tests/kms_plane_multiple.c
> @@ -62,7 +62,7 @@ struct {
>  	bool user_seed;
>  	int seed;
>  } opt = {
> -	.iterations = 64,
> +	.iterations = 1,
>  	.user_seed = false,
>  	.seed = 1,
>  };

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Though such small changes don't need review. :)

~Maarten

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations
  2017-01-12 11:53 ` Maarten Lankhorst
@ 2017-01-12 12:00   ` Chris Wilson
  2017-01-12 12:20     ` Kahola, Mika
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2017-01-12 12:00 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: intel-gfx

On Thu, Jan 12, 2017 at 12:53:30PM +0100, Maarten Lankhorst wrote:
> Op 12-01-17 om 12:12 schreef Mika Kahola:
> > In CI system, the default 64 iterations of this test may cause CRC overflow
> > warnings in dmesg when debugfs is enabled in kernel config. To keep dmesg
> > warning noise in minimum, let's run this test only once by default.
> >
> > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > ---
> >  tests/kms_plane_multiple.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
> > index 5e12be4..b94ec36 100644
> > --- a/tests/kms_plane_multiple.c
> > +++ b/tests/kms_plane_multiple.c
> > @@ -62,7 +62,7 @@ struct {
> >  	bool user_seed;
> >  	int seed;
> >  } opt = {
> > -	.iterations = 64,
> > +	.iterations = 1,
> >  	.user_seed = false,
> >  	.seed = 1,
> >  };
> 
> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> 
> Though such small changes don't need review. :)

I am also intrigued as to what a "CRC overflow warning" is and why
userspace needs to take remedial action to hide the warning.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations
  2017-01-12 12:00   ` Chris Wilson
@ 2017-01-12 12:20     ` Kahola, Mika
  0 siblings, 0 replies; 5+ messages in thread
From: Kahola, Mika @ 2017-01-12 12:20 UTC (permalink / raw)
  To: Chris Wilson, Maarten Lankhorst; +Cc: intel-gfx@lists.freedesktop.org

> -----Original Message-----
> From: Chris Wilson [mailto:chris@chris-wilson.co.uk]
> Sent: Thursday, January 12, 2017 2:00 PM
> To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Kahola, Mika <mika.kahola@intel.com>; intel-gfx@lists.freedesktop.org
> Subject: Re: [Intel-gfx] [PATCH i-g-t] tests/kms_plane_multiple: Change number
> of iterations
> 
> On Thu, Jan 12, 2017 at 12:53:30PM +0100, Maarten Lankhorst wrote:
> > Op 12-01-17 om 12:12 schreef Mika Kahola:
> > > In CI system, the default 64 iterations of this test may cause CRC
> > > overflow warnings in dmesg when debugfs is enabled in kernel config.
> > > To keep dmesg warning noise in minimum, let's run this test only once by
> default.
> > >
> > > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > > ---
> > >  tests/kms_plane_multiple.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
> > > index 5e12be4..b94ec36 100644
> > > --- a/tests/kms_plane_multiple.c
> > > +++ b/tests/kms_plane_multiple.c
> > > @@ -62,7 +62,7 @@ struct {
> > >  	bool user_seed;
> > >  	int seed;
> > >  } opt = {
> > > -	.iterations = 64,
> > > +	.iterations = 1,
> > >  	.user_seed = false,
> > >  	.seed = 1,
> > >  };
> >
> > Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> >
> > Though such small changes don't need review. :)
> 
> I am also intrigued as to what a "CRC overflow warning" is and why userspace
> needs to take remedial action to hide the warning.
From CI runs you may see these errors

[drm:display_pipe_crc_irq_handler [i915]] *ERROR* CRC buffer overflowing

For a real fix, should we increase the size of ringbuffer where crc's are stored or in the kms_plane_multiple test wait for a while before running the next iteration?

> -Chris
> 
> --
> Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-12 12:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 11:12 [PATCH i-g-t] tests/kms_plane_multiple: Change number of iterations Mika Kahola
2017-01-12 11:20 ` Jani Nikula
2017-01-12 11:53 ` Maarten Lankhorst
2017-01-12 12:00   ` Chris Wilson
2017-01-12 12:20     ` Kahola, Mika

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.