mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: add safety build flag NVGPU_FEATURE_CE
Kernel mode submit depends on CE as part of Vidmem clear ops. Added a flag to support compiling out CE unit. Jira NVGPU-3523 Change-Id: I74e956cc602d2f1d6d417ddd0ca7c5f0faf46744 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2127109 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User 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>
This commit is contained in:
committed by
mobile promotions
parent
bf5f86b354
commit
168cb16f6b
@@ -431,7 +431,9 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (err)
|
||||
goto done;
|
||||
|
||||
#ifdef NVGPU_FEATURE_CE
|
||||
nvgpu_init_mm_ce_context(g);
|
||||
#endif
|
||||
|
||||
nvgpu_vidmem_thread_unpause(&g->mm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user