summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/driver_common.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-12-28 17:08:25 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-02 16:53:05 -0500
commit14fa8207e2f7feb36f8fa284b94859e05136eb0f (patch)
treebe05914b21122b80b56f2dc8f0f1799321ca1fc1 /drivers/gpu/nvgpu/common/linux/driver_common.c
parent4f67a794ddbb9e5c1ce66461fabdf3f27708945a (diff)
gpu: nvgpu: Remove TSG required flag
Remove nvgpu internal flag indicating that TSGs are required. We now require TSGs always. This also fixes a regression where CE channels were back to using bare channels on gp106. Bug 1842197 Change-Id: Id359e5a455fb324278636bb8994b583936490ffd Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1628481 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/driver_common.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/driver_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c
index 4de0658b..f2373e00 100644
--- a/drivers/gpu/nvgpu/common/linux/driver_common.c
+++ b/drivers/gpu/nvgpu/common/linux/driver_common.c
@@ -182,8 +182,6 @@ static void nvgpu_init_mm_vars(struct gk20a *g)
182 platform->unified_memory); 182 platform->unified_memory);
183 __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES, 183 __nvgpu_set_enabled(g, NVGPU_MM_UNIFY_ADDRESS_SPACES,
184 platform->unify_address_spaces); 184 platform->unify_address_spaces);
185 __nvgpu_set_enabled(g, NVGPU_MM_CE_TSG_REQUIRED,
186 platform->tsg_required);
187 185
188 nvgpu_mutex_init(&g->mm.tlb_lock); 186 nvgpu_mutex_init(&g->mm.tlb_lock);
189 nvgpu_mutex_init(&g->mm.priv_lock); 187 nvgpu_mutex_init(&g->mm.priv_lock);