summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-07-13 19:05:49 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2020-07-13 19:57:38 +0300
commit90a987205c6cf74116a102ed446d22d92cdaf915 (patch)
tree1075790bafa99846d46e7850ded195c4b51fe4d3 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentd2921096e707bdde92bc635cd89ec1fe85a9faee (diff)
downloadlinux-90a987205c6cf74116a102ed446d22d92cdaf915.tar.xz
drm/i915/gt: Only swap to a random sibling once upon creation
The danger in switching at random upon intel_context_pin is that the context may still actually be inflight, as it will not be scheduled out until a context switch after it is complete -- that may be a long time after we do a final intel_context_unpin. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2118 Fixes: 6d06779e8672 ("drm/i915: Load balancing across a virtual engine") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: <stable@vger.kernel.org> # v5.3+ Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200713160549.17344-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions