[igt-dev] [PATCH i-g-t] i915/pm_rpm: Probe connectors to run standalone

Imre Deak imre.deak at intel.com
Mon May 27 12:12:25 UTC 2019


On Mon, May 27, 2019 at 12:04:32PM +0100, Chris Wilson wrote:
> Quoting Imre Deak (2019-05-27 11:56:48)
> > On Fri, May 24, 2019 at 10:39:42PM +0100, Chris Wilson wrote:
> > > In order to run as a standalone test (i.e. immediately after booting a
> > > device), we need to explicitly probe the connectors.
> > > 
> > > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > 
> > Good to not depend on a preceding (cached) state:
> > Reviewed-by: Imre Deak <imre.deak at intel.com>
> > 
> > Btw, the driver does an initial probing during loading via
> > poll_init_work, can you confirm that the point here is that you don't
> > want to depend on that, since it happens asynchronously?
> 
> It does? Does that depend on having fbdev?

Ah, nope it doesn't. I mixed that up with the async connector detection,
but that doesn't result in a probing. Yes, probing depends on havng
fbdev.

> It doesn't matter how long I wait, this test fails if run first after
> boot.

Yep, makes sense to ensure the probing.

--Imre


More information about the igt-dev mailing list