From c5367d735066b67798686ccf304753fb52fccb68 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 18 May 2015 12:26:52 -0700 Subject: gpu: nvgpu: Do not pre-allocate cmdbuf entries Do not preallocate cmdbuf tracking entries. Allocate them only when needed. Bug 200104160 Change-Id: I12f8392723c301a368af1e280893ff993480477f Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/743953 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta Reviewed-by: Deepak Nibade Reviewed-on: http://git-master/r/755148 --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 1 - 1 file changed, 1 deletion(-) (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 47ebd2a1..231f7c9a 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h @@ -168,7 +168,6 @@ struct priv_cmd_entry { 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 */ - bool pre_alloc; /* prealloc entry, free to free list */ struct list_head list; /* node for lists */ }; -- cgit v1.2.2