diff options
author | 2021-12-21 21:00:48 +0100 | |
---|---|---|
committer | 2021-12-22 08:52:24 +0100 | |
commit | 33654ef470a97f9fcb19abc7e7ef660ea37e3aed (patch) | |
tree | e0a78cb70bd5448b6f616efddd73bcc8b318d744 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | drm/i915: Avoid using the i915_fence_array when collecting dependencies (diff) | |
download | wireguard-linux-33654ef470a97f9fcb19abc7e7ef660ea37e3aed.tar.xz wireguard-linux-33654ef470a97f9fcb19abc7e7ef660ea37e3aed.zip |
drm/i915: remove questionable fence optimization during copy
First of all as discussed multiple times now kernel copies *must* always
wait for all fences in a BO before actually doing the copy. This is
mandatory.
Additional to that drop the handling when there can't be a shared slot
allocated on the source BO and just properly return an error code.
Otherwise this code path would only be tested under out of memory
conditions.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211221200050.436316-3-thomas.hellstrom@linux.intel.com
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions