[igt-dev] [PATCH i-g-t] tests/perf: Fix timeout for RC6 re-enabling

Imre Deak imre.deak at intel.com
Tue Apr 16 14:01:13 UTC 2019


On Tue, Apr 16, 2019 at 02:56:59PM +0100, Chris Wilson wrote:
> Quoting Imre Deak (2019-04-16 14:51:35)
> > After closing the perf stream the parking the GPU engines may easily
> > take more than 1 second: releasing the FD itself results in a new
> > request submission via i915_perf_release()->i915_oa_stream_destroy()->
> > gen8_disable_metric_set(). That means a >1sec delay for the delayed
> > unpark to be called due to the delay from
> 
> igt_drop_caches_set(DROP_IDLE);
> 
> flushes the idle work handler immediately, though you will probably want
> DROP_ACTIVE | DROP_RETIRE to complete the picture, see
> gem_quiescent_gpu().

Thanks, seems to work, will respin with that. 

--Imre


More information about the igt-dev mailing list