[Intel-gfx] [PATCH v2 3/3] tests: rc6 residency test

Ben Widawsky ben at bwidawsk.net
Mon Mar 26 23:54:35 CEST 2012


On Mon, 26 Mar 2012 11:40:55 +0200
Daniel Vetter <daniel at ffwll.ch> wrote:

> On Mon, Mar 26, 2012 at 11:37:13AM +0200, Daniel Vetter wrote:
> > On Sun, Mar 25, 2012 at 05:33:32PM -0700, Ben Widawsky wrote:
> > > This is meant to test the sysfs entry for showing rc6 residency in
> > > milliseconds. Remember, sysfs is a permanent interface.
> > > 
> > > v2: use new get_card interface to try "all" devices
> > > check rc6p and rc6pp in addition to rc6
> > > 
> > > Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> > 
> > You're still missing the drm_quiescent_gpu(fd) call before doing the
> > residency measurements. Which makes this test fail reliably in the
> > i-g-t testsuite because the gpu is still busy from previous tests.
> > Please run new tests also in the context of the full testuite to
> > catch such issues.
> 
> Actually the quiescent seems to be there, so I don't know what's
> going on. -Daniel

I ran this on IVB, both individual and with make test (Ken's machine),
and it passed.

Ben



More information about the Intel-gfx mailing list