mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
This A) clears a dangling pointer which should make the code more robust, and B) allows for easier unit testing of the nvgpu_pd_cache_do_free() functions since there's now a tangible change to the nvgpu_gmmu_pd after this function runs. JIRA NVGPU-1323 Change-Id: I57db02c9e74324b8e3c3fd4a2c14565dfd0048aa Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1949936 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Nicolas Benech <nbenech@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>