From 556643179f1223555e352b48be31df3eda9390b6 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 18 Apr 2016 12:35:57 -0700 Subject: gpu: nvgpu: Allocate channel table with vmalloc Channel table can be bigger than one page, so allocate it with vmalloc. Also add a free for tsg table, which did not exist before, and remove per-channel remove_channel callback which was never used. JIRA DNVGPU-50 Change-Id: I3ee84b65d94881df52bf0618bf4c5f2e85758223 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1129244 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ken Adams GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index fbf1ad9e..1e9341ae 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -156,7 +156,6 @@ struct channel_gk20a { struct mutex fence_lock; } last_submit; - void (*remove_support)(struct channel_gk20a *); #if defined(CONFIG_GK20A_CYCLE_STATS) struct { void *cyclestate_buffer; -- cgit v1.2.2