diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-04-19 18:03:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:40 -0400 |
commit | 497d7cee24572db59cbfc4875d0c9270cee01e7f (patch) | |
tree | ade9390283896387d36cf46a31e5077309f9f70f /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
parent | 754c366e41d237ca90708c9e1b803a7471358622 (diff) |
drm/amdgpu: add a spinlock to wb allocation
As we use wb slots more dynamically, we need to lock
access to avoid racing on allocation or free.
Reviewed-by: Shaoyun.liu <shaoyunl@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions