]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: partial revert "remove ctx->lock" v2
authorChristian König <christian.koenig@amd.com>
Fri, 8 Apr 2022 14:22:55 +0000 (16:22 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 21 Apr 2022 09:26:20 +0000 (11:26 +0200)
commitfbf7db031b919c6e8dced6702fee32c0478fb82d
tree969e9470e0c12550679f893e33996bd70ce34d04
parent3f58f7e086a1bce5203228d08f2d82c4f1a97a49
drm/amdgpu: partial revert "remove ctx->lock" v2

This reverts commit 10223ef8824af2846d31f0940743bf29e42a3862.

We are missing some inter dependencies here so re-introduce the lock
until we have figured out what's missing. Just drop/retake it while
adding dependencies.

v2: still drop the lock while adding dependencies

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> (v1)
Fixes: 10223ef8824a ("drm/amdgpu: remove ctx->lock")
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419110633.166236-1-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h