From 4c4d0e6eb29fab7c1fb54cb7a7f5e3e41e245991 Mon Sep 17 00:00:00 2001 From: Haley Teng Date: Thu, 21 Apr 2016 21:02:14 +0800 Subject: nvgpu: vgpu: create fifo.force_reset_ch in gpu_ops gk20a_fifo_force_reset_ch() does not support vgpu now, so we need to create a function pointer in gpu_ops and assign it differently for vgpu and non-vgpu. Bug 200184349 Change-Id: I5f8f4f731b4b970c4ff8de65531f25568e7691b6 Signed-off-by: Haley Teng Reviewed-on: http://git-master/r/1130420 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/fifo_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c index 8586262f..e738b1d2 100644 --- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c @@ -125,4 +125,5 @@ void gm20b_init_fifo(struct gpu_ops *gops) gops->fifo.get_num_fifos = gm20b_fifo_get_num_fifos; gops->fifo.get_pbdma_signature = gk20a_fifo_get_pbdma_signature; gops->fifo.set_runlist_interleave = gk20a_fifo_set_runlist_interleave; + gops->fifo.force_reset_ch = gk20a_fifo_force_reset_ch; } -- cgit v1.2.2