diff options
author | Maarten Lankhorst <[email protected]> | 2015-08-05 12:37:11 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-08-14 17:50:36 +0200 |
commit | 842315ee7e416fa2f37c649c8a9ae6d6960b42a6 (patch) | |
tree | 4cd7249d3a67ee3bf0d576488775f0714f5709a7 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 4740b0f2b80cc7810bf5fa871189c318b08dbc46 (diff) |
drm/i915: Handle return value in intel_pin_and_fence_fb_obj, v2.
-EDEADLK has special meaning in atomic, but get_fence may call
i915_find_fence_reg which can return -EDEADLK.
This has special meaning in the atomic world, so convert the error
to -EBUSY for this case.
Changes since v1:
- Add comment in the code.
Signed-off-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions