mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Access to falcon's EMEM has to be synchronized to ensure atomic access to EMEM control and data registers. Add this locking. Not all falcons support EMEM hence handle mutex based on the enabled flag emem_supported that is set only for TU104 currently. JIRA NVGPU-1993 Change-Id: Idaedfb564ea0068d4690a2717d7983eb2384a69f Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2030618 GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
18 KiB
18 KiB