Skip to content
Commit d18b8ead authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Fixes: 461fa7b0 ("drm/amdgpu: remove ctx->lock")
Reviewed-by: default avatarAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b664a56e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment