diff options
| author | Thomas Hellström <[email protected]> | 2022-02-01 07:03:40 +0000 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2022-02-01 13:10:12 +0000 |
| commit | 29b9702ffe70d83b9970abbccaeb287dfda4409f (patch) | |
| tree | d6eb666230db88d3e1a9895019d7be1f6a85c6e5 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/i915/dg2: s/engine->i915/i915/ for engine workarounds (diff) | |
| download | kernel-29b9702ffe70d83b9970abbccaeb287dfda4409f.tar.gz kernel-29b9702ffe70d83b9970abbccaeb287dfda4409f.zip | |
drm/i915/ttm: Return some errors instead of trying memcpy move
The i915_ttm_accel_move() function may return error codes that should
be propagated further up the stack rather than consumed assuming that
the accel move failed and could be replaced with a memcpy move.
For -EINTR, -ERESTARTSYS and -EAGAIN, just propagate those codes, rather
than retrying with a memcpy move.
Fixes: 2b0a750caf33 ("drm/i915/ttm: Failsafe migration blits")
Cc: Matthew Auld <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
