diff options
| author | Jeff McGee <[email protected]> | 2017-11-01 15:16:30 -0700 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-11-02 08:07:22 +0000 |
| commit | 6d5646006f66880574c75c4e142ef370b4503af3 (patch) | |
| tree | 897dd67bb2ca8b74b153d2596487e1b30a2cf78a /tools/perf/scripts/python | |
| parent | 6e7406db8c3a6998e84a605d3e1e04b166e795d1 (diff) | |
drm/i915/guc: Clear terminated attribute bit on GuC preemption context
If GuC firmware performs an engine reset while that engine had a
preemption pending, it will set the terminated attribute bit on our
preemption stage descriptor. GuC firmware retains all pending work
items for a high-priority GuC client, unlike the normal-priority GuC
client where work items are dropped. It wants to make sure the preempt-
to-idle work doesn't run when scheduling resumes, and uses this bit to
inform its scheduler and presumably us as well. Our job is to clear it
for the next preemption after reset, otherwise that and future
preemptions will never complete. We'll just clear it every time.
Signed-off-by: Jeff McGee <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Michel Thierry <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions