mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
nvgpu_channel_bind_setup is split into user_mode and kernel_mode specific initialization. Avoid allocation of resources specific to kernel_mode submits when the channel supports user_mode submits and vice-versa. In future, a safety build will be used to compile out the kernel_mode specific initialization for safety builds. Jira NVGPU-3479 Change-Id: Idf158abc24a0b969a5c40f54fee6be4301a08773 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2122844 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>