mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
In preparation for making nvgpu more aligned to upstream kernel, the dependency on the downstream exported _flush_dcache_area is removed. Nvgpu instead uses dma_buf_begin_cpu_access/dma_buf_end_cpu_access to correctly flush the dirty writes and ensure coherency for combits_scatter_buffer. For kernel versions below 4.19, nvgpu calls the modified APIs provided by Nvmap. Going forward Nvmap will be maintaining compatibility with the existing APIs. Change-Id: I5f4e01e45e61000693182392eadf05f197517a81 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2358937 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
51 KiB
51 KiB