diff options
| author | Chris Wilson <[email protected]> | 2019-06-04 16:24:08 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-06-06 13:35:16 +0100 |
| commit | 1fe2d6f94f96e35f0d71721eb899f5f72d5b68bd (patch) | |
| tree | 1590703bbea7a6aec3142619fdb9c4d599a3f12a /tools/perf/scripts/python | |
| parent | 155ab8836caa69579a97a02ccafee929091170b5 (diff) | |
drm/i915: Skip context_barrier emission for unused contexts
The intent was to skip unused HW contexts by checking ce->state.
However, this only works for execlists where the ppGTT pointers is
stored inside the HW context. For gen7, the ppGTT is alongside the
logical state and must be updated on all active engines but, crucially,
only on active engines. As we need different checks, and to keep
context_barrier_task() agnostic, pass in the predicate.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110836
Fixes: 62c8e423450d ("drm/i915: Skip unused contexts for context_barrier_task()")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions