summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 2a9fb57c..08a1fc10 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1120,10 +1120,6 @@ struct gpu_ops {
1120 struct { 1120 struct {
1121 void (*init_hw)(struct gk20a *g); 1121 void (*init_hw)(struct gk20a *g);
1122 void (*isr)(struct gk20a *g); 1122 void (*isr)(struct gk20a *g);
1123 int (*read_ptimer)(struct gk20a *g, u64 *value);
1124 int (*get_timestamps_zipper)(struct gk20a *g,
1125 u32 source_id, u32 count,
1126 struct nvgpu_cpu_time_correlation_sample *);
1127 int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst); 1123 int (*bar1_bind)(struct gk20a *g, struct nvgpu_mem *bar1_inst);
1128 u32 (*set_bar0_window)(struct gk20a *g, struct nvgpu_mem *mem, 1124 u32 (*set_bar0_window)(struct gk20a *g, struct nvgpu_mem *mem,
1129 struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl, 1125 struct nvgpu_sgt *sgt, struct nvgpu_sgl *sgl,
@@ -1131,6 +1127,14 @@ struct gpu_ops {
1131 } bus; 1127 } bus;
1132 1128
1133 struct { 1129 struct {
1130 void (*isr)(struct gk20a *g);
1131 int (*read_ptimer)(struct gk20a *g, u64 *value);
1132 int (*get_timestamps_zipper)(struct gk20a *g,
1133 u32 source_id, u32 count,
1134 struct nvgpu_cpu_time_correlation_sample *);
1135 } ptimer;
1136
1137 struct {
1134 int (*init)(struct gk20a *g); 1138 int (*init)(struct gk20a *g);
1135 int (*preos_wait_for_halt)(struct gk20a *g); 1139 int (*preos_wait_for_halt)(struct gk20a *g);
1136 void (*preos_reload_check)(struct gk20a *g); 1140 void (*preos_reload_check)(struct gk20a *g);