gpu: nvgpu: Avoid resetting CDE flag
authorsujeet baranwal <sbaranwal@nvidia.com>
Tue, 6 Oct 2015 16:07:24 +0000 (09:07 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 30 Oct 2015 16:08:33 +0000 (09:08 -0700)
commitc813552f7c2735c1fb092eb007a08a12c10286cf
tree4c1c711e322588a78307fd22a935a4342932735a
parent7353392341e6b49435e99ed4d1742bfed90a11d2
gpu: nvgpu: Avoid resetting CDE flag

While loading the context, erstwhile set CDE flag was being
overwritten by copying code of golden context, thus losing
the information. This was not letting the CDE info reach
to the ucode, and T1 was not configured to 128B mem access.

Bug 200096226

Change-Id: Iaec1471fbcbffd63f8f3919088c7e9295074419d
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/811741
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Roopa Ranganathan <rranganathan@nvidia.com>
drivers/gpu/nvgpu/gk20a/cde_gk20a.c
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/gr_gk20a.c
drivers/gpu/nvgpu/gk20a/hw_ctxsw_prog_gk20a.h
drivers/gpu/nvgpu/gm20b/gr_gm20b.c
drivers/gpu/nvgpu/gm20b/hw_ctxsw_prog_gm20b.h