aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-01-14 15:15:34 +0000
committerRodrigo Vivi <[email protected]>2024-04-14 19:09:18 +0000
commit2af231e1b8f374895d5d6db2517804c4848d3161 (patch)
tree155b8488a2452dc5a02839e482301432422d87bc /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/i915/guc: Fix the fix for reset lock confusion (diff)
downloadkernel-2af231e1b8f374895d5d6db2517804c4848d3161.tar.gz
kernel-2af231e1b8f374895d5d6db2517804c4848d3161.zip
drm/i915/guc: Remove usage of the deprecated ida_simple_xx() API
ida_alloc() and ida_free() should be preferred to the deprecated ida_simple_get() and ida_simple_remove(). Note that the upper limit of ida_simple_get() is exclusive, but the one of ida_alloc_range() is inclusive. So a -1 has been added when needed. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/7108c1871c6cb08d403c4fa6534bc7e6de4cb23d.1705245316.git.christophe.jaillet@wanadoo.fr Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions