summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2015-04-09 07:17:13 -0400
committerIshan Mittal <imittal@nvidia.com>2015-05-18 02:03:44 -0400
commitd65a93b80c60bb677fbc13b7180e0f31b7f97f84 (patch)
treeda92083e7565c8d82f4f8bd7d06dab20b4f61e1a /drivers/gpu/nvgpu/gk20a/gk20a.h
parent6a5cc111713cec1d0e1edf9b8a1e64eb17105d9c (diff)
gpu: nvgpu: add secure gpccs boot support
bug 200080684 keeping it disabled by default also trimming the code by removing redundant variable to check recovery. pmu quick wait now checks only for irqs which are serviced by kernel. requests pmu to bit bang gpccs ucode. Change-Id: I12ef23d6d59b507e86a129b69eab65b21d0438c6 Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/729622 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index ce8d1d62..67a6123e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -377,15 +377,15 @@ struct gpu_ops {
377 int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); 377 int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g);
378 int (*pmu_setup_elpg)(struct gk20a *g); 378 int (*pmu_setup_elpg)(struct gk20a *g);
379 int (*init_wpr_region)(struct gk20a *g); 379 int (*init_wpr_region)(struct gk20a *g);
380 bool lspmuwprinitdone; 380 u32 lspmuwprinitdone;
381 bool fecsbootstrapdone; 381 bool fecsbootstrapdone;
382 u32 fecsrecoveryinprogress;
383 } pmu; 382 } pmu;
384 struct { 383 struct {
385 int (*init_clk_support)(struct gk20a *g); 384 int (*init_clk_support)(struct gk20a *g);
386 int (*suspend_clk_support)(struct gk20a *g); 385 int (*suspend_clk_support)(struct gk20a *g);
387 } clk; 386 } clk;
388 bool privsecurity; 387 bool privsecurity;
388 bool securegpccs;
389 struct { 389 struct {
390 const struct regop_offset_range* ( 390 const struct regop_offset_range* (
391 *get_global_whitelist_ranges)(void); 391 *get_global_whitelist_ranges)(void);