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/gm20b/bus_gm20b.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/bus_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c index 39778c55..11c11e23 100644 --- a/drivers/gpu/nvgpu/gm20b/bus_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/bus_gm20b.c @@ -14,6 +14,7 @@ */ #include +#include #include "bus_gm20b.h" #include "gk20a/gk20a.h" @@ -58,6 +59,6 @@ void gm20b_init_bus(struct gpu_ops *gops) gops->bus.init_hw = gk20a_bus_init_hw; gops->bus.isr = gk20a_bus_isr; gops->bus.read_ptimer = gk20a_read_ptimer; - gops->bus.get_timestamps_zipper = gk20a_get_timestamps_zipper; + gops->bus.get_timestamps_zipper = nvgpu_get_timestamps_zipper; gops->bus.bar1_bind = gm20b_bus_bar1_bind; } -- cgit v1.2.2