mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
Protect nvmap_flush_heap_block function under flag NVMAP_CONFIG_CACHE_FLUSH_AT_ALLOC because for carveouts if cache flush is done at buffer allocation time then there is no need to do it during release time. Bug 4479027 Change-Id: I78372b5567d20d6e539cbe2b54a9099bea1780f3 Signed-off-by: Yash Bhatt <ybhatt@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3103835 Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>