diff options
author | 2023-03-20 07:43:33 -0700 | |
---|---|---|
committer | 2023-03-25 16:31:44 -0700 | |
commit | 44c200876a45429473ff683bd491ccf3a73eb915 (patch) | |
tree | a2f89b1131afeb4eeb37140492e52711eb21fa4b /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | |
parent | drm/msm: Switch idr_lock to spinlock (diff) | |
download | wireguard-linux-44c200876a45429473ff683bd491ccf3a73eb915.tar.xz wireguard-linux-44c200876a45429473ff683bd491ccf3a73eb915.zip |
drm/msm: Use idr_preload()
Avoid allocation under idr_lock, to prevent deadlock against the
job_free() path (which runs on same thread as job_run(), which makes
it also part of the fence-signaling path.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/527847/
Link: https://lore.kernel.org/r/20230320144356.803762-12-robdclark@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c')
0 files changed, 0 insertions, 0 deletions