diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-01-16 06:33:34 -0500 |
---|---|---|
committer | Seema Khowala <seemaj@nvidia.com> | 2018-01-30 16:03:28 -0500 |
commit | a9644aa4435a72e5c7e768f85ffb98802940cab4 (patch) | |
tree | 915f7d8c8320a4649f08f45ee4ae36418a834fbf /drivers/gpu/nvgpu/pmgr/pwrdev.h | |
parent | 87acd01edfd2f2a3746e2166940147f545edd7bb (diff) |
gpu: nvgpu: cause early VPR resize for gv11b
Patch 7240b3c2 enabled secure allocation for gv11b
But since we allocate secure buffers in poweron path, and secure allocation
needs GPU to be in off state, this results in deadlock in poweron path
To solve this, we already cause early VPR resize for older chips by calling
gk20a_tegra_secure_page_alloc() from late_probe
Implement same for gv11b.
Add late_probe callback and add a call to gk20a_tegra_secure_page_alloc()
Bug 2038249
Change-Id: I8c17b069962b26edbd0639a7c0d6c2fdaa352935
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1648831
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pwrdev.h')
0 files changed, 0 insertions, 0 deletions