]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/amdgpu: nuke amdgpu_vm_bo_split_mapping v2
authorChristian König <christian.koenig@amd.com>
Mon, 12 Oct 2020 13:40:04 +0000 (15:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:27:22 +0000 (13:27 -0400)
commita39f2a8d70666ef728497651a16bca4d23ec8816
treef43f2634f2d402c67bfbecc1fbbfc5cf437d7ed8
parentce9a6cad3e3afea552c191e5c833b56f7b1bb4f0
drm/amdgpu: nuke amdgpu_vm_bo_split_mapping v2

Merge the functionality mostly into amdgpu_vm_bo_update_mapping.

This way we can even handle small contiguous system pages without
to much extra CPU overhead.

v2: fix typo, keep the cursor as it is for now

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Madhav Chauhan <madhav.chauhan@amd.com> (v1)
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c