diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 29c88f44..0c3c6ff3 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * GK20A Platform (SoC) Interface | 4 | * GK20A Platform (SoC) Interface |
5 | * | 5 | * |
6 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms and conditions of the GNU General Public License, | 9 | * under the terms and conditions of the GNU General Public License, |
@@ -55,6 +55,9 @@ struct gk20a_platform { | |||
55 | struct clk *clk[3]; | 55 | struct clk *clk[3]; |
56 | int num_clks; | 56 | int num_clks; |
57 | 57 | ||
58 | /* Reset control for device */ | ||
59 | struct reset_control *reset_control; | ||
60 | |||
58 | /* Delay before rail gated */ | 61 | /* Delay before rail gated */ |
59 | int railgate_delay; | 62 | int railgate_delay; |
60 | 63 | ||
@@ -76,6 +79,9 @@ struct gk20a_platform { | |||
76 | /* Adaptative ELPG: true = enable flase = disable */ | 79 | /* Adaptative ELPG: true = enable flase = disable */ |
77 | bool enable_aelpg; | 80 | bool enable_aelpg; |
78 | 81 | ||
82 | /* Timeout for per-channel watchdog (in mS) */ | ||
83 | u32 ch_wdt_timeout_ms; | ||
84 | |||
79 | /* Enable SMMU bypass by default */ | 85 | /* Enable SMMU bypass by default */ |
80 | bool bypass_smmu; | 86 | bool bypass_smmu; |
81 | 87 | ||
@@ -91,6 +97,9 @@ struct gk20a_platform { | |||
91 | /* Default big page size 64K or 128K */ | 97 | /* Default big page size 64K or 128K */ |
92 | u32 default_big_page_size; | 98 | u32 default_big_page_size; |
93 | 99 | ||
100 | /* scaling factor for ptimer */ | ||
101 | u32 ptimerscaling10x; | ||
102 | |||
94 | /* Initialize the platform interface of the gk20a driver. | 103 | /* Initialize the platform interface of the gk20a driver. |
95 | * | 104 | * |
96 | * The platform implementation of this function must | 105 | * The platform implementation of this function must |