mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
When a dma_buf is getting mapped, take refcount on that device which will is released when dma_buf is unmapped. The device should be alive till all its buffers are unmapped. Bug 4402923 Change-Id: I3ad257f5bdd7e705ac94bea6e81fef0fda46fbd2 Signed-off-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3079901 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>