diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-10-11 17:02:02 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-19 15:27:06 -0400 |
commit | 26eedf6daec4e7937c8f0f1dde5e9b8e3dcebfd3 (patch) | |
tree | a55fc6266c9785335edc7b8d4640f276eda81549 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | |
parent | 7d0a42823ba5bdc11b4933749b147b8a6a6caae5 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
0 files changed, 0 insertions, 0 deletions