diff options
author | Imre Deak <[email protected]> | 2016-11-07 11:20:05 +0200 |
---|---|---|
committer | Imre Deak <[email protected]> | 2016-11-07 14:48:05 +0200 |
commit | 31ab49abde41c4056b17ca3d63456a62964834c0 (patch) | |
tree | 66f2e0147ca1f38d430d9a3b5b42d35e8a0c9e80 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0cb5670baa3aad40aeec0c264a1ac1d89d67c6d7 (diff) |
drm/i915: Add assert for no pending GPU requests during suspend/resume in LR mode
During resume we will reset the SW/HW tracking for each ring head/tail
pointers and so are not prepared to replay any pending requests (as
opposed to GPU reset time). Add an assert for this both to the suspend
and the resume code.
v2:
- Check for ELSP port idle already during suspend and check !gt.awake
during resume. (Chris)
v3:
- Move the !gt.awake check to i915_gem_resume().
v4:
- s/intel_lr_engines_idle/intel_execlists_idle/ (Chris)
Cc: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions