From b3a85df53ba844626e477451313ecb2097a34fd0 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 13 Mar 2015 10:57:19 -0700 Subject: 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 Reviewed-on: http://git-master/r/717503 Reviewed-by: Deepak Nibade Reviewed-on: http://git-master/r/737533 Reviewed-by: Alexander Van Brunt Tested-by: Alexander Van Brunt Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gk20a/gk20a.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') 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 { struct dentry *debugfs_ltc_enabled; struct dentry *debugfs_timeouts_enabled; struct dentry *debugfs_gr_idle_timeout_default; + struct dentry *debugfs_bypass_smmu; + struct dentry *debugfs_disable_bigpage; #endif struct gk20a_ctxsw_ucode_info ctxsw_ucode_info; -- cgit v1.2.2