aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_request.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-12-21 21:00:48 +0100
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2021-12-22 08:52:24 +0100
commit33654ef470a97f9fcb19abc7e7ef660ea37e3aed (patch)
treee0a78cb70bd5448b6f616efddd73bcc8b318d744 /drivers/gpu/drm/i915/i915_request.c
parentdrm/i915: Avoid using the i915_fence_array when collecting dependencies (diff)
downloadlinux-dev-33654ef470a97f9fcb19abc7e7ef660ea37e3aed.tar.xz
linux-dev-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 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions