summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
diff options
context:
space:
mode:
authorDeepak Goyal <dgoyal@nvidia.com>2017-07-05 03:07:23 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-18 14:04:23 -0400
commit5364257c7f9792b3e85d4af89528d6bda02bfee5 (patch)
tree12e7817b563605a8b6af63618048e0ec981261dc /drivers/gpu/nvgpu/gp106/hal_gp106.c
parentb1c95568823d8b7b19188de06c80b303e9c62f66 (diff)
gpu : nvgpu: secure boot code unification.
This exposes all secure boot functions that can be re-used by other chips. This is the first patch in this series. Other pacthes will also follow. JIRA NVGPU-60 Change-Id: I523637bbf601166f8a01ddf29a913e193d3fdc7a Signed-off-by: Deepak Goyal <dgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1514567 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 14f7dc2e..2ebf93e2 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -326,6 +326,7 @@ int gp106_init_hal(struct gk20a *g)
326 gops->privsecurity = 1; 326 gops->privsecurity = 1;
327 gops->securegpccs = 1; 327 gops->securegpccs = 1;
328 gops->pmupstate = true; 328 gops->pmupstate = true;
329 g->bootstrap_owner = LSF_FALCON_ID_SEC2;
329 gk20a_init_bus(gops); 330 gk20a_init_bus(gops);
330 gp10b_init_priv_ring(gops); 331 gp10b_init_priv_ring(gops);
331 gp106_init_gr(gops); 332 gp106_init_gr(gops);