diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-14 16:36:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-24 16:24:50 -0400 |
commit | 8478f6356a94651dca1aed8c65df0ca0f0a50016 (patch) | |
tree | 882047337ffebd68dcd373a1c357406ceae82a1c /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | b3e1ce04b963e91b9b425b3c35cc4eff11db7543 (diff) |
gpu: nvgpu: Move aggressive_sync_destroy to gk20a
Copy aggressive_sync_destroy* to struct gk20a at probe time, and
access it from gk20a instead of platform_gk20a.
JIRA NVGPU-16
Change-Id: I6a1c04d85580cb62ab9a52bae08a0f99fe7cfef9
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1463542
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 7c8b4eae..0d1ae9d7 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -996,6 +996,9 @@ struct gk20a { | |||
996 | 996 | ||
997 | u32 default_pri_timeout; | 997 | u32 default_pri_timeout; |
998 | 998 | ||
999 | unsigned int aggressive_sync_destroy_thresh; | ||
1000 | bool aggressive_sync_destroy; | ||
1001 | |||
999 | u32 emc3d_ratio; | 1002 | u32 emc3d_ratio; |
1000 | 1003 | ||
1001 | #ifdef CONFIG_DEBUG_FS | 1004 | #ifdef CONFIG_DEBUG_FS |