summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-11-09 18:32:11 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-11-22 03:59:18 -0500
commitf34a4d0b125ebf45373e40478925b3eb75b7898a (patch)
treea6bac09ad2f4c38289048acefd724ff2bd3c279f /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parentf53a0dd96b25cfb64b17ab816ae1f9b0b144db07 (diff)
gpu: nvgpu: CONFIG_TEGRA_ACR is supported by default
TEGRA_ACR config is supposed to be enabled maxwell onwards. Since gk20a support is no longer supported, delete code that is not under TEGRA_ACR config Change-Id: Id52485680bca1ceaadcb94f9603c0898c2002e02 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1595437 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
index ef46c1ee..0d032be0 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
@@ -737,7 +737,6 @@ u32 gr_gm20b_get_tpc_num(struct gk20a *g, u32 addr)
737 return 0; 737 return 0;
738} 738}
739 739
740#ifdef CONFIG_TEGRA_ACR
741static void gr_gm20b_load_gpccs_with_bootloader(struct gk20a *g) 740static void gr_gm20b_load_gpccs_with_bootloader(struct gk20a *g)
742{ 741{
743 struct gk20a_ctxsw_ucode_info *ucode_info = &g->ctxsw_ucode_info; 742 struct gk20a_ctxsw_ucode_info *ucode_info = &g->ctxsw_ucode_info;
@@ -830,14 +829,6 @@ int gr_gm20b_load_ctxsw_ucode(struct gk20a *g)
830 829
831 return 0; 830 return 0;
832} 831}
833#else
834
835int gr_gm20b_load_ctxsw_ucode(struct gk20a *g)
836{
837 return -EPERM;
838}
839
840#endif
841 832
842void gr_gm20b_detect_sm_arch(struct gk20a *g) 833void gr_gm20b_detect_sm_arch(struct gk20a *g)
843{ 834{