Files
linux-nvgpu/drivers/gpu
Sagar Kamble 4bf47b32fc gpu: nvgpu: use nvmap exported APIs for dma_alloc|free_attrs on kstable
To support nvmap as OOT module in kstable it implemented the APIs
nvmap_dma_alloc_attrs and nvmap_dma_free_attrs to replace usage
of kernel dma_alloc_attrs and dma_free_attrs. nvmap APIs have
special handling for VPR carveout.

Use those exported APIs in nvgpu when CONFIG_NVGPU_NVMAP_NEXT is
defined. This config will be defined only for kstable builds.

JIRA LS-458
Bug 200754700

Change-Id: I717aa579d29ee10c006b044f6b0fafbedc57dba8
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2647951
(cherry picked from commit 4e227b3e80)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2650378
Tested-by: Omprakash Shewale <oshewale@nvidia.com>
Reviewed-by: Omprakash Shewale <oshewale@nvidia.com>
2022-01-11 04:08:58 -08:00
..