diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-01-14 16:15:34 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-04-14 15:09:18 -0400 |
commit | 2af231e1b8f374895d5d6db2517804c4848d3161 (patch) | |
tree | 155b8488a2452dc5a02839e482301432422d87bc /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 3563d855312acedcd445a3767f0cb07906f1c26f (diff) |
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 <christophe.jaillet@wanadoo.fr>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7108c1871c6cb08d403c4fa6534bc7e6de4cb23d.1705245316.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions