diff options
| author | Christian König <[email protected]> | 2019-07-22 14:56:25 +0200 |
|---|---|---|
| committer | Christian König <[email protected]> | 2019-07-30 12:27:39 +0200 |
| commit | b33b556ce59b5239a7b73c495209f90ec990e60c (patch) | |
| tree | 1e7bfc2fd9793a7d44a05fe95bf4a7937c8854e6 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 4de09ffcf4f622876668b76c8e416f4143b32a9e (diff) | |
drm/syncobj: fix leaking dma_fence in drm_syncobj_query_ioctl
We need to check the context number instead if the previous sequence to detect
an error and if an error is detected we need to drop the reference to the
current fence or otherwise would leak it.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Fixes: 27b575a9aa2f ("drm/syncobj: add timeline payload query ioctl v6")
Link: https://patchwork.freedesktop.org/patch/319123/
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions