[Intel-gfx] [PATCH i-g-t 7/9] trace.pl: Fix incomplete request handling

John Harrison John.C.Harrison at Intel.com
Fri Jul 13 07:00:08 UTC 2018


On 7/12/2018 3:59 AM, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Incomplete requests (no notify, no context complete) have to be corrected
> by looking at the engine timeline, and not the sorted-by-start-time view
> as was previously used.
>
> Per-engine timelines are generated on demand and cached for later use.
>
> v2: Find end of current context on the engine timeline instead of just
>      using the next request for adjusting the incomplete start time.
>
> v3: Improve scaling with large datasets by only walking each engine
>      timeline once and some caching. (John Harrison)
>
> v4:
>   * Fix logic fail from v3.
>   * Refactor the code a bit to separate the stages better.
>   * Do not account batches with unknown duration in avg stats.
>   * Handle two user interrupts with the same seqno.
>   * Handle user interrupt arriving after request_out.
>
> v5:
>   * Update for class:instance.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: John Harrison <John.C.Harrison at intel.com>
> ---
>

Reviewed-by: John Harrison<John.C.Harrison at Intel.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20180713/d20e8678/attachment.html>


More information about the Intel-gfx mailing list