summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
diff options
context:
space:
mode:
authorSourab Gupta <sourabg@nvidia.com>2018-04-10 02:35:09 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-04-11 13:16:09 -0400
commit585e33e4082baaf58d3714c42200f3c72bffa218 (patch)
tree0258a738f37e96aab4d11ae8ac3a4d78e3680c4b /drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
parentf3d22faef874901808746d957d2f97e6ca07a977 (diff)
gpu: nvgpu: remove usage of nvgpu_fence
Remove the usage of nvgpu_fence 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: Ic3737450123dfc5e1c40ca5b6b8d8f6b3070aa0d Signed-off-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1691977 Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
index c37f45dd..3392b6fa 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
@@ -339,7 +339,7 @@ static int gk20a_ctrl_prepare_compressible_read(
339 339
340#ifdef CONFIG_NVGPU_SUPPORT_CDE 340#ifdef CONFIG_NVGPU_SUPPORT_CDE
341 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); 341 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
342 struct nvgpu_fence fence; 342 struct nvgpu_channel_fence fence;
343 struct gk20a_fence *fence_out = NULL; 343 struct gk20a_fence *fence_out = NULL;
344 int flags = args->submit_flags; 344 int flags = args->submit_flags;
345 345