mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
With an exclusively owned context and a channel per cde job, new cde jobs are never launched on an active channel. A context is allocated, then used with one job, and then released to the free pool when the completion callback occurs. There is no need to check for an empty job list, so delete the check to avoid a dependency to channel joblist internals from cde code. Long back in the history the cde contexts were reused before going idle but the dynamic allocation has existed for years now and each context/channel pair is isolated. Jira NVGPU-5492 Change-Id: I9047ef4cd029996ba58fec42ddd55bb52cf0d6a6 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2343243 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
50 KiB
50 KiB