mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
This adds APIs to the POSIX sgt module to allow unit tests to create sgt's and sgl's more easily. The new APIs allow the caller to pass in a table of sgl's and creates the new sgt/sgl as needed. Since this there is a new API to create an sgl, this also includes a new nvgpu_sgl_free() API. JIRA NVGPU-1563 Change-Id: I27ab7654289cbd2212a75625b6dd24d2b742e3bf Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1966151 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>