diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-03 23:34:48 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-10-04 19:52:45 +0300 |
commit | e7af3116836fb7feb985497f2c7776751fb27ef3 (patch) | |
tree | a9044c9a587ee6a840d3d67cb337355f5f5f8456 /.mailmap | |
parent | d6c0511300dcff19969844495ba293c4efb50b42 (diff) | |
download | linux-e7af3116836fb7feb985497f2c7776751fb27ef3.tar.xz |
drm/i915: Introduce a preempt context
Add another perma-pinned context for using for preemption at any time.
We cannot just reuse the existing kernel context, as first and foremost
we need to ensure that we can preempt the kernel context itself, so
require a distinct context id. Similar to the kernel context, we may
want to interrupt execution and switch to the preempt context at any
time, and so it needs to be permanently pinned and available.
To compensate for yet another permanent allocation, we shrink the
existing context and the new context by reducing their ringbuffer to the
minimum.
v2: Assert that we never allocate a request from the preemption context.
v3: Limit perma-pin to engines that may preempt.
v4: Onion cleanup for early driver death
v5: Onion ordering in main driver cleanup as well.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaĆ Winiarski <michal.winiarski@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171003203453.15692-4-chris@chris-wilson.co.uk
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions