diff options
author | Christian König <christian.koenig@amd.com> | 2022-02-23 14:35:31 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-04 13:03:30 -0500 |
commit | d18b8eadd83e3d8d63a45f9479478640dbcfca02 (patch) | |
tree | 8f2a8ce9b4f32f9a0ad8d60cdd4d0f206eaf35c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
parent | b664a56e8626264276ee27edf949e748f6be52de (diff) |
drm/amdgpu: install ctx entities with cmpxchg
Since we removed the context lock we need to make sure that not two threads
are trying to install an entity at the same time.
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 461fa7b0ac565e ("drm/amdgpu: remove ctx->lock")
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
0 files changed, 0 insertions, 0 deletions