mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Finding gpu va mapping inside a given range is a two step process where in first step number of mapping are queried and at second step it queries for all the continues mapping range for that given gpu va range. Mapping interface should count and return number of mappings if input count is 0 in place of failing it. Patch make the change for this two step process and only returns count at first step and in second step returns the continues memory ranges. Patch also replaces nvgpu_zalloc with nvgpu_big_zalloc to handle bigger size allocation. Bug 200722275 Change-Id: I56428deafa560ac8471c78f102bb1f9dbe20cabc Signed-off-by: prsethi <prsethi@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2591043 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>