mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
vgpu_vm_init and vgpu_vm_remove are called directly from common code if virtualization is supported. Introduce mm HAL ops vm_as_alloc_share and vm_as_free_share and call these functions through these HAL ops. Also rename these functions from vgpu_vm_init to vgpu_vm_as_alloc_share and vgpu_vm_remove to vgpu_vm_as_free_share as these function names are too generic and rename to reflect their actual functionality. For now these HAL ops are initialized only for vgpu. Jira GVSCI-517 Change-Id: I7c5af1ab5a64ce562092f75b1488524e93e8f53f Signed-off-by: Aparna Das <aparnad@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2032310 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
33 KiB
33 KiB