From 22341d1c3e12b4a6d1f6d69dc1d7ed69a914f0db Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Mon, 18 Jul 2016 18:53:05 +0300 Subject: gpu: nvgpu: reserve wpr from allocator In addition to nonwpr_base address, allocate also the wpr_base that is configured as wpr, in order to not overlap user allocations on that area. This patch adds just the wpr region's mem_desc field available. For devices that use the wpr separately, the field is used for that alloc. Jira DNVGPU-18 Change-Id: I4a7523f2af2379ee38bdd34cb8ca2d81360dff7b Signed-off-by: Konsta Holtta Reviewed-on: http://git-master/r/1182873 Reviewed-by: Deepak Nibade Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar Reviewed-by: Alex Waterman Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/acr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/acr.h') diff --git a/drivers/gpu/nvgpu/acr.h b/drivers/gpu/nvgpu/acr.h index dc463133..2877ac38 100644 --- a/drivers/gpu/nvgpu/acr.h +++ b/drivers/gpu/nvgpu/acr.h @@ -23,6 +23,7 @@ struct acr_desc { struct mem_desc ucode_blob; + struct mem_desc wpr_dummy; struct bin_hdr *bl_bin_hdr; struct hsflcn_bl_desc *pmu_hsbl_desc; struct bin_hdr *hsbin_hdr; -- cgit v1.2.2