aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2018-03-24 12:58:29 +0000
committerChris Wilson <[email protected]>2018-03-27 11:02:27 +0100
commiteed7ec52f214bac2f25395ccaad610fbeb842a6e (patch)
tree5ff794f27b0b947e0ae74104c6cc5573e6719041 /tools/perf/scripts/python/bin
parent7487508eff1fe787573aa6e0f3daaa6b12bd4520 (diff)
drm/i915/execlists: Clear user-active flag on preemption completion
When cancelling the requests and clearing out the ports following a successful preemption completion, also clear the active flag. I had assumed that all preemptions would be followed by an immediate dequeue (preserving the active user flag), but under rare circumstances we may be triggering a preemption for the second port only for it to have completed before the preemotion kicks in; leaving execlists->active set even though the system is now idle. We can clear the flag inside the common execlists_cancel_port_requests() as the other users also expect the semantics of active being cleared. Fixes: f6322eddaff7 ("drm/i915/preemption: Allow preemption between submission ports") Signed-off-by: Chris Wilson <[email protected]> Cc: MichaƂ Winiarski <[email protected]> Cc: Michel Thierry <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions