From f8578c92741425ec4630bc9fe52d8537fa8a5c16 Mon Sep 17 00:00:00 2001 From: Sourab Gupta Date: Tue, 10 Apr 2018 12:44:25 +0530 Subject: gpu: nvgpu: remove usage of nvgpu_gpfifo Remove the usage of nvgpu_gpfifo splattered across nvgpu, and replace with a struct defined in common code. The usage is still inside Linux, but this helps the subsequent unification efforts, e.g. to unify the submit path. VQRM-3465 Change-Id: I9e5ac697a0c7f85239ddba319085c09481d20d6b Signed-off-by: Sourab Gupta Reviewed-on: https://git-master.nvidia.com/r/1691978 Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/cde.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/cde.h') diff --git a/drivers/gpu/nvgpu/common/linux/cde.h b/drivers/gpu/nvgpu/common/linux/cde.h index 9ff142ea..5928b624 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.h +++ b/drivers/gpu/nvgpu/common/linux/cde.h @@ -47,7 +47,7 @@ struct gk20a_fence; struct nvgpu_channel_fence; struct channel_gk20a; struct vm_gk20a; -struct nvgpu_gpfifo; +struct nvgpu_gpfifo_entry; /* * this element defines a buffer that is allocated and mapped into gpu address @@ -258,10 +258,10 @@ struct gk20a_cde_ctx { u64 backing_store_vaddr; - struct nvgpu_gpfifo *init_convert_cmd; + struct nvgpu_gpfifo_entry *init_convert_cmd; int init_cmd_num_entries; - struct nvgpu_gpfifo *convert_cmd; + struct nvgpu_gpfifo_entry *convert_cmd; int convert_cmd_num_entries; struct kobj_attribute attr; -- cgit v1.2.2