summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/acr.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2016-07-18 11:53:05 -0400
committerVijayakumar Subbu <vsubbu@nvidia.com>2016-07-20 00:02:22 -0400
commit22341d1c3e12b4a6d1f6d69dc1d7ed69a914f0db (patch)
tree66927fbcaaada8ef2dfac80866169dac2863aca2 /drivers/gpu/nvgpu/acr.h
parent9cbce8a90116766cd8037977900199b24eaab817 (diff)
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 <kholtta@nvidia.com> Reviewed-on: http://git-master/r/1182873 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/acr.h')
-rw-r--r--drivers/gpu/nvgpu/acr.h1
1 files changed, 1 insertions, 0 deletions
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 @@
23 23
24struct acr_desc { 24struct acr_desc {
25 struct mem_desc ucode_blob; 25 struct mem_desc ucode_blob;
26 struct mem_desc wpr_dummy;
26 struct bin_hdr *bl_bin_hdr; 27 struct bin_hdr *bl_bin_hdr;
27 struct hsflcn_bl_desc *pmu_hsbl_desc; 28 struct hsflcn_bl_desc *pmu_hsbl_desc;
28 struct bin_hdr *hsbin_hdr; 29 struct bin_hdr *hsbin_hdr;