From 0b2ea2924bd0122e0eaa286b4dbcfc9fe96ebe20 Mon Sep 17 00:00:00 2001 From: Sourab Gupta Date: Tue, 20 Feb 2018 16:07:43 +0530 Subject: gpu: nvgpu: add gops.fifo.setup_sw bar1/userd setup is different for RM server. created common function gk20a_init_fifo_setup_sw_common. Jira VQRM-3058 Change-Id: I655b54e21ed5f15dcb8e7b01bd9cd129b35ae7a3 Signed-off-by: Richard Zhao Reviewed-on: https://git-master.nvidia.com/r/1665691 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index e8cfaf13..b5ebb9ba 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -532,6 +532,7 @@ struct gpu_ops { void (*post_events)(struct channel_gk20a *ch); } debugger; struct { + int (*setup_sw)(struct gk20a *g); int (*init_fifo_setup_hw)(struct gk20a *g); void (*bind_channel)(struct channel_gk20a *ch_gk20a); void (*unbind_channel)(struct channel_gk20a *ch_gk20a); -- cgit v1.2.2