From 7290a6cbd5d03145d6f1ca4c3eacba40f6d4f93c Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 26 Feb 2015 14:37:43 -0800 Subject: gpu: nvgpu: Implement common allocator and mem_desc Introduce mem_desc, which holds all information needed for a buffer. Implement helper functions for allocation and freeing that use this data type. Change-Id: I82c88595d058d4fb8c5c5fbf19d13269e48e422f Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/712699 --- drivers/gpu/nvgpu/gm20b/acr_gm20b.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 e5d126f8..d26f91ff 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.h @@ -381,9 +381,9 @@ struct acr_gm20b { u32 pmu_args; const struct firmware *acr_fw; struct flcn_acr_desc *acr_dmem_desc; - struct pmu_mem_desc acr_ucode; + struct mem_desc acr_ucode; const struct firmware *hsbl_fw; - struct pmu_mem_desc hsbl_ucode; + struct mem_desc hsbl_ucode; struct flcn_bl_dmem_desc bl_dmem_desc; const struct firmware *pmu_fw; const struct firmware *pmu_desc; -- cgit v1.2.2