From 3b8c8972efabf32346a90575c26e6718f0e844ea Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 23 Mar 2015 13:17:57 -0700 Subject: 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 Reviewed-on: http://git-master/r/721120 --- drivers/gpu/nvgpu/gm20b/acr_gm20b.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gm20b/acr_gm20b.h') 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 { struct ls_flcn_mgr { u16 managed_flcn_cnt; u32 wpr_size; + struct mem_desc mem; u32 disable_mask; struct lsfm_managed_ucode_img *ucode_img_list; void *wpr_client_req_state;/*PACR_CLIENT_REQUEST_STATE originally*/ -- cgit v1.2.2