Andrey Grodzovsky c554206077 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>
2018-12-11 11:16:14 -05:00
..
2018-10-24 20:04:03 -05:00
2018-10-24 20:04:03 -05:00
2018-07-17 14:18:28 -05:00
2017-10-20 13:28:44 -04:00
2018-02-19 14:18:10 -05:00
2018-08-28 11:22:42 -05:00
2016-08-31 15:21:09 -04:00
2018-10-24 20:04:03 -05:00
2018-02-19 14:18:11 -05:00