diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2018-12-06 15:51:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-13 09:50:57 +0100 |
commit | a8d16017db2ecb376103fda6bbc8cdcf10cd3283 (patch) | |
tree | e0aca40efb2209062d5987622fb261ff92877686 /mm/zbud.c | |
parent | 54568ab2e11f2744674ced22763939245a16ace2 (diff) |
drm/amdgpu: Fix DEBUG_LOCKS_WARN_ON(depth <= 0) in amdgpu_ctx.lock
[ Upstream commit c554206077428af56cc2e0314b86b41cd030458c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions