Skip to content
Commit 497d7cee authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarShaoyun.liu <shaoyunl@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 754c366e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment