diff options
| author | Chris Wilson <[email protected]> | 2017-01-23 11:31:32 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-01-23 12:04:46 +0000 |
| commit | 86aa7e760a6709789a21bdf186bd0c3635da6b9a (patch) | |
| tree | 7cbdf4172d9bbf5d6686f4e0f128f1aa86307099 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5d12fcef4ef15d00ae3228cc1ed80d2d81bc2c06 (diff) | |
drm/i915: Assert that the context-switch completion matches our context
When execlists signals the context completion, it also provides the
context id for the status event. Assert that id matches the one we expect.
v2: The upper dword of the context status is a duplicate of the upper
dword from elsp submission (i.e. includes the group id as well as the
context id). Include this check as well.
v3: Only check against lrc_desc (as this contains the hw_id check)
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions