summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDeming Wang <wangdeming@inspur.com>2022-10-06 22:26:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-10-24 14:34:47 -0400
commit3a3e841d050d9d919317ad2b65d80fc9c8c799dc (patch)
treedb38261fde5930cc4b32d32b4aa39427f5685908 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent178919f8ff2d4cd1ad32680eb767e6761e9d00ea (diff)
drm/amdkfd: use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the start address is contained in the found vma. This results in easier to read the code. Signed-off-by: Deming Wang <wangdeming@inspur.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions