diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-13 13:57:19 -0400 |
---|---|---|
committer | Alexander Van Brunt <avanbrunt@nvidia.com> | 2015-05-05 16:59:01 -0400 |
commit | b3a85df53ba844626e477451313ecb2097a34fd0 (patch) | |
tree | fcaa92b11163942cc3ae902805727653633680cd /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 4425e9ebcf85443773a15891ba40242d714426a1 (diff) |
gpu: nvgpu: SMMU bypass
Improve GMMU mapping code to cope with discontiguous buffers.
Add debugfs entry that allows bypassing SMMU and disabling big pages.
Bug 1605769
Change-Id: I14d32c62293a16ff8c7195377c75a85fa8061083
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/717503
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/737533
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 7e919e2e..defc5904 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -452,6 +452,8 @@ struct gk20a { | |||
452 | struct dentry *debugfs_ltc_enabled; | 452 | struct dentry *debugfs_ltc_enabled; |
453 | struct dentry *debugfs_timeouts_enabled; | 453 | struct dentry *debugfs_timeouts_enabled; |
454 | struct dentry *debugfs_gr_idle_timeout_default; | 454 | struct dentry *debugfs_gr_idle_timeout_default; |
455 | struct dentry *debugfs_bypass_smmu; | ||
456 | struct dentry *debugfs_disable_bigpage; | ||
455 | #endif | 457 | #endif |
456 | struct gk20a_ctxsw_ucode_info ctxsw_ucode_info; | 458 | struct gk20a_ctxsw_ucode_info ctxsw_ucode_info; |
457 | 459 | ||