mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Create an iova for syncpoint shim region in case iommu is enabled and nvlink is disabled. This iova is then used to created nvgpu mem with nvgpu_mem_create_from_phys. Which is then used to create gpu mappings. Instead of creating another variable g->syncpt_mem's priv is used to store the sgt which needs to be freed on deinit. Jira NVGPU-5376 Change-Id: I0b5a8320fbbb68031912ae88cfe8c2c3804fb813 Signed-off-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2332643 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
19 KiB
19 KiB