diff options
author | Dave Gordon <david.s.gordon@intel.com> | 2015-10-14 19:50:18 +0100 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2016-06-28 17:19:24 +0100 |
commit | 12ea5dad3fd5712d674566eb179e1768e8399132 (patch) | |
tree | 6ff4fa235751bfbf1aaaabb05f3a57610df5ef1c /crypto/seed.c | |
parent | 1740b23334e0cb5a676994d0de1c79deb9db78c8 (diff) |
drm/i915/preempt: Refactor intel_lr_context_reset()
After preemption, we need to empty out the ringbuffers associated
with preempted requests, so that the scheduler has a clean ring
into which to (re-)insert requests (not necessarily in the same
order as before they were preempted).
So this patch refactors the existing routine intel_lr_context_reset()
into a new inner core intel_lr_context_resync() which just updates
a context and the associated ringbuffer, and an outer wrapper which
implements the original operation of intel_lr_context_reset() in
terms of resync().
For: VIZ-2021
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions