commit | c554206077428af56cc2e0314b86b41cd030458c | [log] [tgz] |
---|---|---|
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | Thu Dec 06 15:51:37 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Dec 11 11:16:14 2018 -0500 |
tree | 15f33e0d7d60c89de5508ff515acd3807a113ac5 | |
parent | cf4197ed5796234a53beb71228198c7d1e678947 [diff] |
drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock If CS is submitted using guilty ctx, we terminate amdgpu_cs_parser_init before locking ctx->lock, latter in amdgpu_cs_parser_fini we still are trying to release the lock just becase parser->ctx != NULL. 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>