mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
The last steps to finish job cleanup for both deterministic and nondeterministic submits are the same: put away preallocated job resources that the job had consumed. Avoid duplicated code by moving this code to a function that's shared with both paths. Jira NVGPU-5998 Change-Id: Ic278b0bc8f0f05895f5c24340a60c1ce3eade0b3 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2401468 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>