From 84703739a52f1c4e878e871429edb22dfcb4005e Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 16 Jun 2017 14:36:29 -0700 Subject: gpu: nvgpu: Move time correlation to common code Time correlation does not have chip or OS specific dependencies, so move it to generic new source file bus.c. JIRA NVGPU-38 Change-Id: Ic7fdf8c9ccacf05baf1b3438a86b28e517093641 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1505171 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/bus_gk20a.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/bus_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/bus_gk20a.h b/drivers/gpu/nvgpu/gk20a/bus_gk20a.h index 088c385e..344350b4 100644 --- a/drivers/gpu/nvgpu/gk20a/bus_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/bus_gk20a.h @@ -20,12 +20,6 @@ struct gk20a; struct gpu_ops; -struct nvgpu_mem; - -struct nvgpu_cpu_time_correlation_sample { - u64 cpu_timestamp; - u64 gpu_timestamp; -}; void gk20a_init_bus(struct gpu_ops *gops); @@ -33,8 +27,4 @@ void gk20a_bus_isr(struct gk20a *g); int gk20a_read_ptimer(struct gk20a *g, u64 *value); void gk20a_bus_init_hw(struct gk20a *g); -int gk20a_get_timestamps_zipper(struct gk20a *g, - u32 source_id, u32 count, - struct nvgpu_cpu_time_correlation_sample *samples); - #endif /* GK20A_H */ -- cgit v1.2.2