diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 10417084..689fafb1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Graphics | ||
3 | * | ||
4 | * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 3 | * |
4 | * GK20A Graphics | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
8 | * version 2, as published by the Free Software Foundation. | 8 | * version 2, as published by the Free Software Foundation. |
@@ -971,15 +971,17 @@ struct gk20a { | |||
971 | struct device *dev; | 971 | struct device *dev; |
972 | struct platform_device *host1x_dev; | 972 | struct platform_device *host1x_dev; |
973 | 973 | ||
974 | /* | ||
975 | * Used by <nvgpu/enabled.h>. Do not access directly! | ||
976 | */ | ||
977 | unsigned long *enabled_flags; | ||
978 | |||
974 | atomic_t usage_count; | 979 | atomic_t usage_count; |
975 | int driver_is_dying; | ||
976 | 980 | ||
977 | atomic_t nonstall_ops; | 981 | atomic_t nonstall_ops; |
978 | struct work_struct nonstall_fn_work; | 982 | struct work_struct nonstall_fn_work; |
979 | struct workqueue_struct *nonstall_work_queue; | 983 | struct workqueue_struct *nonstall_work_queue; |
980 | 984 | ||
981 | bool is_fmodel; | ||
982 | |||
983 | struct kref refcount; | 985 | struct kref refcount; |
984 | 986 | ||
985 | struct resource *reg_mem; | 987 | struct resource *reg_mem; |