Re: [PATCH 0/5] drm/i915: Grab the vblank evasion lock around the entire evasion.

Chris Wilson
2018-02-09T10:04:48Z

Quoting Maarten Lankhorst (2018-02-09 09:53:59)
> Some cleanups to move the uncore.lock around vblank evasion, so run
> to completion without racing on uncore.lock. Hopefully this will reduce
> the chance of underruns, and perhaps allows us to decrease
> VBLANK_EVASION_TIME_US as well as a followup patch.
>
> Tested on KBL and BSW.

* shivers

uncore.lock is a brutally contested lock. Ville's patches did work on
splitting the uncore.lock into forcewake and display variants, which
cuts down on the nasty side effects.

Latency profiling, another item for the CI/QA wishlist.
-Chris