diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-10-12 00:02:02 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-19 22:27:06 +0300 |
commit | 26eedf6daec4e7937c8f0f1dde5e9b8e3dcebfd3 (patch) | |
tree | a55fc6266c9785335edc7b8d4640f276eda81549 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7d0a42823ba5bdc11b4933749b147b8a6a6caae5 (diff) | |
download | linux-26eedf6daec4e7937c8f0f1dde5e9b8e3dcebfd3.tar.xz |
drm/amdgpu: Fix extra call to amdgpu_ctx_put.
In amdgpu_cs_parser_init() in case of error handling
amdgpu_ctx_put() is called without setting p->ctx to NULL after that,
later amdgpu_cs_parser_fini() also calls amdgpu_ctx_put() again and
mess up the reference count.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions