]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f677a389528b2566e8c93700dde444e057560ac
tree0ad1eb4462f3a895f26d6e6ba6080c7ad87da893
parentcfcadf384ba18be253864fea0509841d361786c9
drm/amdgpu: revert "partial revert "remove ctx->lock" v2"

This reverts commit fbf7db031b919c6e8dced6702fee32c0478fb82d.

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