mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
- For NvRmHeap_GpuMem, we are switching from a carveout to huge pages obtained from hugetlbfs. - Allocate a handle from VA using get_user_pages, when allocation is requested from GPU heap. - Introduce a new field to indicate that the pages are allocated from hugetlbfs. This field will be useful while returning the correct heap while querying the handle params for a handle which was created using hugetlbfs. - Update the query heap API for GpuMem heap to return the huge pages memory values from meminfo. Bug 4510173 Change-Id: I0dbef4c4e95969f8e3975a6dc58f10255db0635e Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3174720 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>