diff options
author | Chris Wilson <[email protected]> | 2019-05-03 12:52:15 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-05-07 12:00:10 +0100 |
commit | dc58958d08bb60004d20af7842f5894f83c928c1 (patch) | |
tree | 2e6021dc39ff4d8affe008d738337e2b5ed363f1 /tools/perf/scripts/python/sched-migration.py | |
parent | 7ee280a75fd922ac32aa7ed67cd72bdf64952b3a (diff) |
drm/i915: Assert the local engine->wakeref is active
Due to the asynchronous tasklet and recursive GT wakeref, it may happen
that we submit to the engine (underneath it's own wakeref) prior to the
central wakeref being marked as taken. Switch to checking the local wakeref
for greater consistency.
Fixes: 79ffac8599c4 ("drm/i915: Invert the GEM wakeref hierarchy")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions