diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-12-28 17:08:25 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-02 16:53:05 -0500 |
commit | 14fa8207e2f7feb36f8fa284b94859e05136eb0f (patch) | |
tree | be05914b21122b80b56f2dc8f0f1799321ca1fc1 /drivers/gpu/nvgpu/common/linux/driver_common.c | |
parent | 4f67a794ddbb9e5c1ce66461fabdf3f27708945a (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.c | 2 |
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); |