mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: set FB/HSMMU debug mode
Set NV_PFB_HSMMU_PRI_MMU_DEBUG_CTRL and NV_PFB_PRI_MMU_DEBUG_CTRL in addition to NV_PGRAPH_PRI_GPCS_MMU_DEBUG_CTRL, in NVGPU_DBG_GPU_IOCTL_SET_CTX_MMU_DEBUG_MODE Bug 2515097 Change-Id: I1763b43e79fac3edb68a35980683d58bfa89519f Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2115785 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
adc2956568
commit
8057514a9f
@@ -1094,7 +1094,8 @@ static int nvgpu_dbg_gpu_ioctl_set_mmu_debug_mode(
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (g->ops.gr.set_mmu_debug_mode == NULL) {
|
||||
if ((g->ops.fb.set_mmu_debug_mode == NULL) &&
|
||||
(g->ops.gr.set_mmu_debug_mode == NULL)) {
|
||||
return -ENOSYS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user