diff options
| author | Chris Wilson <[email protected]> | 2019-12-16 16:17:16 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-12-18 10:13:03 +0000 |
| commit | 54d7195f8c64c83a13bd343e349b1bbf158c8aad (patch) | |
| tree | 8f75bb41b6d0d2a5066b9a925d290d8e772c22f8 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f20c6b278d1a0cedc691c3b0ebcf9154ad9d8a1a (diff) | |
drm/i915: Unpin vma->obj on early error
If we inherit an error along the fence chain, we skip the main work
callback and go straight to the error. In the case of the vma bind
worker, we only dropped the pinned pages from the worker.
In the process, make sure we call the release earlier rather than wait
until the final reference to the fence is dropped (as a reference is
kept while being listened upon).
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions