From eabf3541ea8dc91689240e3ba367487fa880b5e0 Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Tue, 27 Jun 2017 16:33:19 -0700 Subject: gpu: nvgpu: add ops to support t19x ce changes JIRA GPUT19X-46 Change-Id: Idd17f2f644da1bbb8d31a55ac91561b25ff68aac Signed-off-by: Seema Khowala Reviewed-on: https://git-master/r/1509749 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 5 +++++ 1 file changed, 5 insertions(+) (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 1e6995c4..61832320 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -155,6 +155,7 @@ struct gpu_ops { struct { void (*isr_stall)(struct gk20a *g, u32 inst_id, u32 pri_base); int (*isr_nonstall)(struct gk20a *g, u32 inst_id, u32 pri_base); + u32 (*get_num_pce)(struct gk20a *g); } ce2; struct { int (*init_fs_state)(struct gk20a *g); @@ -499,6 +500,10 @@ struct gpu_ops { unsigned int (*handle_pbdma_intr_1)(struct gk20a *g, u32 pbdma_id, u32 pbdma_intr_1, u32 *handled, u32 *error_notifier); + void (*init_eng_method_buffers)(struct gk20a *g, + struct tsg_gk20a *tsg); + void (*deinit_eng_method_buffers)(struct gk20a *g, + struct tsg_gk20a *tsg); #ifdef CONFIG_TEGRA_GK20A_NVHOST int (*alloc_syncpt_buf)(struct channel_gk20a *c, u32 syncpt_id, struct nvgpu_mem *syncpt_buf); -- cgit v1.2.2