diff options
| author | Luben Tuikov <[email protected]> | 2023-10-18 00:56:57 +0000 |
|---|---|---|
| committer | Luben Tuikov <[email protected]> | 2023-10-22 00:27:15 +0000 |
| commit | d3df66fd98557c25856860b7d9c3b8b93d449f0a (patch) | |
| tree | fc617225c84e117d69b7dfb028bdbfcd72abca48 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | |
| parent | drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() (diff) | |
| download | kernel-d3df66fd98557c25856860b7d9c3b8b93d449f0a.tar.gz kernel-d3df66fd98557c25856860b7d9c3b8b93d449f0a.zip | |
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 <[email protected]>
Cc: Christian König <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c')
0 files changed, 0 insertions, 0 deletions
