mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
8834d598e4bc24720a208de35b4fbc93b4c7d9d8
CONFIG_NVGPU_NVMAP_NEXT was defined for all kernels except 4.9. However, Android builds nvgpu without NV_BUILD_KERNEL_OPTIONS set and it fails while looking for definitions of the functions nvmap_dma_alloc_attrs and nvmap_dma_free_attrs. Define it for kstable if CONFIG_TEGRA_NVMAP_NEXT is set and define it for kernel 5.10 (downstream) explicitly. Bug 3445216 Change-Id: If73ca56cfc5668d6e318f470b31d999d663a4483 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2654677 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Kevin Kuo (SW-GPU) <kevkuo@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Description
No description provided