diff options
| author | Chris Wilson <[email protected]> | 2019-12-13 16:03:47 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-12-13 20:16:23 +0000 |
| commit | f1925f3309d13d431f70e7b6b72ba59cae90fdff (patch) | |
| tree | 1042010629454f562d2a8fab9a96aba7a4fdf237 /tools/perf/scripts/python/flamegraph.py | |
| parent | 639f2f24895fb37dd67dfecabd2c74019ed64140 (diff) | |
drm/i915: Use EAGAIN for trylock failures
While not good behaviour, it is, however, established behaviour that we
can punt EAGAIN to userspace if we need to retry the ioctl. When trying
to acquire a mutex, prefer to use EAGAIN to propagate losing the race
so that if it does end up back in userspace, we try again.
Fixes: c81471f5e95c ("drm/i915: Copy across scheduler behaviour flags across submit fences")
Closes: https://gitlab.freedesktop.org/drm/intel/issues/800
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions