summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
diff options
context:
space:
mode:
authorLuben Tuikov <luben.tuikov@amd.com>2023-10-17 20:56:57 -0400
committerLuben Tuikov <luben.tuikov@amd.com>2023-10-21 20:27:15 -0400
commitd3df66fd98557c25856860b7d9c3b8b93d449f0a (patch)
treefc617225c84e117d69b7dfb028bdbfcd72abca48 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
parent3d887d512494d678b17c57b835c32f4e48d34f26 (diff)
drm/amdgpu: Remove redundant call to priority_is_valid()
Remove a redundant call to amdgpu_ctx_priority_is_valid() from amdgpu_ctx_priority_permit(), which is called from amdgpu_ctx_init() which is called from amdgpu_ctx_alloc() which is called from amdgpu_ctx_ioctl(), where we've called amdgpu_ctx_priority_is_valid() already first thing in the function. Cc: Alex Deucher <Alexander.Deucher@amd.com> Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Luben Tuikov <luben.tuikov@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Link: https://lore.kernel.org/r/20231018010359.30393-1-luben.tuikov@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c')
0 files changed, 0 insertions, 0 deletions