summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-05-14 10:01:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 01:19:25 +0300
commit4d50a14d346141e03a7c3905e496d91e048bc30c (patch)
tree527ceb7ca528126b4ac956a734a2635d774cab6a /lib/debugobjects.c
parent15c369257bd85f47a514744f960c5a51c867716f (diff)
downloadlinux-4d50a14d346141e03a7c3905e496d91e048bc30c.tar.xz
drm/amdgpu: use atomic operation to achieve lockless serialization
In amdgpu_seq64_alloc there is a possibility that two difference cores from two separate NODES can try to and could get the same free slot. So this fixes that race here using atomic test_and_set clear operations. Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions