diff options
| author | Chris Wilson <[email protected]> | 2020-08-06 17:10:56 +0100 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2020-09-07 14:28:21 +0300 |
| commit | da1ea128a6a4d6d52b02ded82933944161c1cb01 (patch) | |
| tree | 14be270cec0352f482591b2fb960a6e02579237b /tools/perf/scripts/python/flamegraph.py | |
| parent | 736e785f9b28cd9ef2d16a80960a04fd00e64b22 (diff) | |
drm/i915/gem: Free the fence after a fence-chain lookup failure
If dma_fence_chain_find_seqno() reports an error, it does so in its
preamble before it disposes of the input fence. On handling the
error, we need to drop the reference to the fence.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2292
Signed-off-by: Chris Wilson <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Fixes: 13149e8bafc4 ("drm/i915: add syncobj timeline support")
Reviewed-by: Lionel Landwerlin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions