[igt-dev] [PATCH i-g-t v1 3/3] igt/tests: Tolerate if kernel can't have all planes

Daniel Vetter daniel at ffwll.ch
Mon Apr 1 07:30:39 UTC 2019


On Mon, Apr 01, 2019 at 09:28:47AM +0200, Daniel Vetter wrote:
> On Fri, Mar 29, 2019 at 01:29:01PM +0200, Stanislav Lisovskiy wrote:
> > With some upcoming changes i915 might not allow
> > all sprite planes enabled, depending on available
> > bandwidth limitation. Thus the test need to decrement
> > amount of planes and try again, instead of panicking.
> > 
> > Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>
> 
> I'm looking at a similar problem in kms_concurrent, and I think we now
> also need to randomize the planes we pick. With bw limits (and other stuff
> really, this is just the one we're hitting now) we'd otherwise have a good
> chance of not testing the last few planes. By randomizing which planes
> we're picking we should be able to make things a lot more interesting for
> the kernel.

igt_permute_array (for an array of plane indices probably) should help
with that.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the igt-dev mailing list