From f937b42672c8752c322a946e8e1fb631acc5229a Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Wed, 31 Aug 2016 18:37:01 -0700 Subject: gpu: nvgpu: create chip specific runlist entry To handle chip specific runlist entry size and structure, add and implement relevant functional pointers. Bug 1735760 Change-Id: I01f3ea78fb21d9fe30c82ba51ef24d7d95ebf90a Signed-off-by: seshendra Gadagottu Reviewed-on: http://git-master/r/1214473 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/fifo_gm20b.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b') diff --git a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c index 26306efc..b5b9c52b 100644 --- a/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fifo_gm20b.c @@ -156,4 +156,7 @@ void gm20b_init_fifo(struct gpu_ops *gops) gops->fifo.device_info_data_parse = gm20b_device_info_data_parse; gops->fifo.eng_runlist_base_size = fifo_eng_runlist_base__size_1_v; gops->fifo.init_engine_info = gk20a_fifo_init_engine_info; + gops->fifo.runlist_entry_size = ram_rl_entry_size_v; + gops->fifo.get_tsg_runlist_entry = gk20a_get_tsg_runlist_entry; + gops->fifo.get_ch_runlist_entry = gk20a_get_ch_runlist_entry; } -- cgit v1.2.2