diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 30f1b371..f4ca5649 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -877,6 +877,9 @@ struct gk20a { | |||
877 | atomic_t nonstall_ops; | 877 | atomic_t nonstall_ops; |
878 | struct work_struct nonstall_fn_work; | 878 | struct work_struct nonstall_fn_work; |
879 | struct workqueue_struct *nonstall_work_queue; | 879 | struct workqueue_struct *nonstall_work_queue; |
880 | |||
881 | bool is_fmodel; | ||
882 | |||
880 | struct kref refcount; | 883 | struct kref refcount; |
881 | 884 | ||
882 | struct resource *reg_mem; | 885 | struct resource *reg_mem; |
@@ -987,7 +990,7 @@ struct gk20a { | |||
987 | bool global_profiler_reservation_held; | 990 | bool global_profiler_reservation_held; |
988 | int profiler_reservation_count; | 991 | int profiler_reservation_count; |
989 | 992 | ||
990 | void (*remove_support)(struct device *); | 993 | void (*remove_support)(struct gk20a *); |
991 | 994 | ||
992 | u64 pg_ingating_time_us; | 995 | u64 pg_ingating_time_us; |
993 | u64 pg_ungating_time_us; | 996 | u64 pg_ungating_time_us; |
@@ -1455,7 +1458,7 @@ extern struct class nvgpu_class; | |||
1455 | 1458 | ||
1456 | int gk20a_pm_init(struct device *dev); | 1459 | int gk20a_pm_init(struct device *dev); |
1457 | int gk20a_pm_finalize_poweron(struct device *dev); | 1460 | int gk20a_pm_finalize_poweron(struct device *dev); |
1458 | void gk20a_remove_support(struct device *dev); | 1461 | void gk20a_remove_support(struct gk20a *g); |
1459 | 1462 | ||
1460 | static inline struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch) | 1463 | static inline struct tsg_gk20a *tsg_gk20a_from_ch(struct channel_gk20a *ch) |
1461 | { | 1464 | { |