aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2019-05-29 09:52:16 -0400
committerAlex Deucher <[email protected]>2019-06-11 12:56:01 -0500
commit66c45500bfdc6a7f1c143767dfbc8fc8f9435e73 (patch)
tree713e14e89711527734f243481ce43367f83707a7 /net/switchdev/switchdev.c
parent8252562d5270c13e6123a5939d0db1bbf04327a1 (diff)
drm/amdgpu: use new HMM APIs and helpers
HMM provides new APIs and helps in kernel 5.2-rc1 to simplify driver path. The old hmm APIs are deprecated and will be removed in future. Below are changes in driver: 1. Change hmm_vma_fault to hmm_range_register and hmm_range_fault which supports range with multiple vmas, remove the multiple vmas handle path and data structure. 2. Change hmm_vma_range_done to hmm_range_unregister. 3. Use default flags to avoid pre-fill pfn arrays. 4. Use new hmm_device_ helpers. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions