diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-06-23 02:56:45 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:18 -0400 |
commit | 20408d5b32e5564b2fb410bc5b0bb0a198629437 (patch) | |
tree | 965dac6015b8ab7f9865f79a07b0876025f63309 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | b57c6501c75b478b08b9ea6e226c55e5039b5c86 (diff) |
gpu: nvgpu: Boot FECS to secure mode
Boot FECS to secure mode if ACR is enabled.
Bug 200006956
Change-Id: Ifc107704a6456af837b7f6c513c04d152b2f4d3a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/424251
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 5305f612..2310b81c 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -897,6 +897,12 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
897 | goto done; | 897 | goto done; |
898 | } | 898 | } |
899 | 899 | ||
900 | err = gk20a_enable_gr_hw(g); | ||
901 | if (err) { | ||
902 | gk20a_err(dev, "failed to enable gr"); | ||
903 | goto done; | ||
904 | } | ||
905 | |||
900 | err = g->ops.pmu.prepare_ucode(g); | 906 | err = g->ops.pmu.prepare_ucode(g); |
901 | if (err) { | 907 | if (err) { |
902 | gk20a_err(dev, "failed to init pmu ucode"); | 908 | gk20a_err(dev, "failed to init pmu ucode"); |