mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
Move the per-channel hw semaphore object to be owned by the channel sync (just like with syncpoints, too). Store just the channel ID in the hw sema for debug prints to get rid of sema->channel dependencies. Make nvgpu_semaphore_alloc() take a hw sema instead of a channel. Fix up some channel-related documentation that has been incorrect. Jira NVGPU-5353 Change-Id: I04d49da3aac50a4cea32e7393f48e6f85a80ca0d Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2339931 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>