Files
linux-nvgpu/drivers/gpu
Sagar Kamble 14cc805f27 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: Icead5e3e73689dbbe55c579242634171780880ed
Signed-off-by: Sagar Kamble <skamble@nvidia.com>
Signed-off-by: Ketan Patil <ketanp@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/+/2652881
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
2022-01-11 21:15:30 -08:00
..