diff options
| author | Thomas Hellström <[email protected]> | 2022-02-01 08:03:40 +0100 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2022-02-07 12:56:49 +0000 |
| commit | 3526b607b02397cdb6d459594e4f1d63133d6655 (patch) | |
| tree | ea5c202f9d54ee28c909d2d4a189151c69ca6b2f /tools/perf/scripts/python/flamegraph.py | |
| parent | ee59792c97176f12c1da31f29fc4c2aab187f06e (diff) | |
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]
(cherry picked from commit 29b9702ffe70d83b9970abbccaeb287dfda4409f)
Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions