OSDN Git Service

drm/amdgpu: revert "partial revert "remove ctx->lock" v2"
authorChristian König <christian.koenig@amd.com>
Thu, 14 Jul 2022 08:23:38 +0000 (10:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:33:01 +0000 (14:33 -0400)
commitdd80d9c8eecac8c516da5b240d01a35660ba6cb6
tree0ad1eb4462f3a895f26d6e6ba6080c7ad87da893
parent736ec9fadd7a1fde8480df7e5cfac465c07ff6f3
drm/amdgpu: revert "partial revert "remove ctx->lock" v2"

This reverts commit 94f4c4965e5513ba624488f4b601d6b385635aec.

We found that the bo_list is missing a protection for its list entries.
Since that is fixed now this workaround can be removed again.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@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