[igt-dev] [PATCH i-g-t v2] tests/kms_concurrent: Move bandwidth calculation to igt_fixture

Kahola, Mika mika.kahola at intel.com
Mon Mar 30 12:11:48 UTC 2020



-----Original Message-----
From: Latvala, Petri <petri.latvala at intel.com> 
Sent: Monday, March 30, 2020 2:41 PM
To: Kahola, Mika <mika.kahola at intel.com>
Cc: igt-dev at lists.freedesktop.org; juhapekka.heikkila at gmail.com; Lisovskiy, Stanislav <stanislav.lisovskiy at intel.com>
Subject: Re: [PATCH i-g-t v2] tests/kms_concurrent: Move bandwidth calculation to igt_fixture

On Mon, Mar 30, 2020 at 01:06:40PM +0300, Kahola, Mika wrote:
> I noticed that pipe B was failing with other platforms as well, not 
> just with HSW. Bandwidth calculation within fixture fixed the other 
> platforms that was failing as well as my local HSW machine. I think it 
> is unnecessary to calculate bandwidth for older platforms. We have 
> seen these issues only with gen11+.

I mean what was the crashing operation and the reason that was reached? Dividing by zero? Buffer overflow when reading because some array index was too big?

I was thinking that we iterate usually only once and the whole idea of the test is to draw planes and concurrently switch resolutions from higher to lower and back. Maybe we just need to keep child process running while switching resolution? I tested this with a patch that increased to number of child process iterations to 5 instead of 1. Let's see, what CI thinks about this idea. 

Anyway, I need to run these tests in CI  as I cannot produce these errors locally on HSW that shows problematic behavior.

--
Petri Latvala


More information about the igt-dev mailing list