diff options
author | Chris Wilson <[email protected]> | 2019-10-02 19:34:59 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-10-03 00:26:02 +0100 |
commit | fcde8c7eea6004e92f8b329a84c2a520a1a71bc0 (patch) | |
tree | 19ecc9d3e8e6ccbfe28ea63a395b509a55988d5f /lib/mpi/mpi-bit.c | |
parent | f21e8b80b79d77872e88d853032294ba5bde0bc4 (diff) |
drm/i915/selftests: Exercise potential false lite-restore
If execlists's lite-restore is based on the common GEM context tag
rather than the per-intel_context LRCA, then a context switch between
two intel_contexts on the same engine derived from the same GEM context
will perform a lite-restore instead of a full context switch. We can
exploit this by poisoning the ringbuffer of the first context and trying
to trick a simple RING_TAIL update (i.e. lite-restore)
v2: Also check what happens if preempt ce[0] with ce[1] (both instances
on the same engine from the same parent context) [Tvrtko]
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions