diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-23 16:17:57 -0400 |
---|---|---|
committer | Ishan Mittal <imittal@nvidia.com> | 2015-05-18 01:48:27 -0400 |
commit | 3b8c8972efabf32346a90575c26e6718f0e844ea (patch) | |
tree | bd0806ad2de55e991e14fc6748d6bd7332ad302e /drivers/gpu/nvgpu/gm20b/acr_gm20b.h | |
parent | c5f2d00d04f5048e1414f1a2cbe702026528b4db (diff) |
gpu: nvgpu: Use common allocator for ACR
Reduce amount of duplicate code around memory allocation by using
common helpers, and common data structure for storing results of
allocations.
Bug 1605769
Change-Id: Ib70db4dff782176ed7f92b6809c8415b8c35abe1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/721120
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.h b/drivers/gpu/nvgpu/gm20b/acr_gm20b.h index d26f91ff..557acbc7 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.h | |||
@@ -259,6 +259,7 @@ struct lsfm_managed_ucode_img { | |||
259 | struct ls_flcn_mgr { | 259 | struct ls_flcn_mgr { |
260 | u16 managed_flcn_cnt; | 260 | u16 managed_flcn_cnt; |
261 | u32 wpr_size; | 261 | u32 wpr_size; |
262 | struct mem_desc mem; | ||
262 | u32 disable_mask; | 263 | u32 disable_mask; |
263 | struct lsfm_managed_ucode_img *ucode_img_list; | 264 | struct lsfm_managed_ucode_img *ucode_img_list; |
264 | void *wpr_client_req_state;/*PACR_CLIENT_REQUEST_STATE originally*/ | 265 | void *wpr_client_req_state;/*PACR_CLIENT_REQUEST_STATE originally*/ |