diff options
| author | Chris Wilson <[email protected]> | 2018-03-24 12:58:29 +0000 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2018-04-04 13:45:32 +0000 |
| commit | 38057aa1639b74d5c1e0dc1ca7c22bc7a31de714 (patch) | |
| tree | 577ab02a7b4c035d739c1e2bc6ee9b559370f705 /drivers/fpga/machxo2-spi.c | |
| parent | Merge tag 'gvt-fixes-2018-04-03' of https://github.com/intel/gvt-linux into d... (diff) | |
| download | kernel-38057aa1639b74d5c1e0dc1ca7c22bc7a31de714.tar.gz kernel-38057aa1639b74d5c1e0dc1ca7c22bc7a31de714.zip | |
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]
(cherry picked from commit eed7ec52f214bac2f25395ccaad610fbeb842a6e)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
