diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-18 15:35:57 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-04-28 15:47:04 -0400 |
commit | 556643179f1223555e352b48be31df3eda9390b6 (patch) | |
tree | 4359a0ff2de7f549b9e0b83ffc24347b6466f1bd /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 610a523b7d9c62e5b4d6444f738acc62d779713b (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1129244
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 { | |||
156 | struct mutex fence_lock; | 156 | struct mutex fence_lock; |
157 | } last_submit; | 157 | } last_submit; |
158 | 158 | ||
159 | void (*remove_support)(struct channel_gk20a *); | ||
160 | #if defined(CONFIG_GK20A_CYCLE_STATS) | 159 | #if defined(CONFIG_GK20A_CYCLE_STATS) |
161 | struct { | 160 | struct { |
162 | void *cyclestate_buffer; | 161 | void *cyclestate_buffer; |