From 5f3648137191513e3f98234b47251c16edd18ce7 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 31 May 2016 16:42:22 -0700 Subject: gpu: nvgpu: Remove dead priv_cmdbuf code Remove the gp_get and gp_put pointers from the priv_cmdbuf code. These pointers appear to track the position of th the priv_cmdbuf in the gp_fifo. However, these pointers are not used for anything nor are they needed for anything in the future. This code appears to be a relic left over from the past. Change-Id: Ibed1a6d51fa0cac12c5e0429760e8e2f611fc899 Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1161859 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index 590ede71..d1628b07 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h @@ -176,9 +176,6 @@ struct priv_cmd_entry { u64 gva; u32 get; /* start of entry in queue */ u32 size; /* in words */ - u32 gp_get; /* gp_get when submitting last priv cmd */ - u32 gp_put; /* gp_put when submitting last priv cmd */ - u32 gp_wrap; /* wrap when submitting last priv cmd */ struct list_head list; /* node for lists */ }; -- cgit v1.2.2