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>
This commit is contained in:
Konsta Holtta
2016-07-18 18:53:05 +03:00
committed by Vijayakumar Subbu
parent 9cbce8a901
commit 22341d1c3e

View File

@@ -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;