From a07e10f494c158ae31d6187e9be3db409528a507 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 23 Mar 2017 14:19:01 -0700 Subject: gpu: nvgpu: Move channel IOCTL code to Linux module Move channel IOCTL specific code to Linux module. This clears some Linux dependencies from channel_gk20a.c. JIRA NVGPU-32 Change-Id: I41817d612b959709365bcabff9c8a15f2bfe4c60 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1330804 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c index 48f0cf8d..cce7a769 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.c @@ -471,8 +471,7 @@ u32 gk20a_ce_create_context_with_cb(struct device *dev, } /* allocate gpfifo (1024 should be more than enough) */ - err = gk20a_alloc_channel_gpfifo(ce_ctx->ch, - &(struct nvgpu_alloc_gpfifo_ex_args){1024, 0, 0, {}}); + err = gk20a_channel_alloc_gpfifo(ce_ctx->ch, 1024, 0, 0); if (err) { gk20a_err(ce_ctx->dev, "ce: unable to allocate gpfifo"); goto end; -- cgit v1.2.2