Skip to content

Commit 476a4e1

Browse files
amd-sukhatrialexdeucher
authored andcommitted
drm/amdgpu: print root PD address in PDE format instead of GPU
Print PD address of VM root instead of GPU address in the debugfs. On modern GPU's this is what UMR tool expects in the registers as well. Fixes: 719b378 ("drm/amdgpu: add debugfs support for VM pagetable per client") Signed-off-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent aba4ead commit 476a4e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2155,7 +2155,7 @@ static int amdgpu_pt_info_read(struct seq_file *m, void *unused)
21552155
return -EINVAL;
21562156
}
21572157

2158-
seq_printf(m, "gpu_address: 0x%llx\n", amdgpu_bo_gpu_offset(fpriv->vm.root.bo));
2158+
seq_printf(m, "pd_address: 0x%llx\n", amdgpu_gmc_pd_addr(fpriv->vm.root.bo));
21592159
seq_printf(m, "max_pfn: 0x%llx\n", adev->vm_manager.max_pfn);
21602160
seq_printf(m, "num_level: 0x%x\n", adev->vm_manager.num_level);
21612161
seq_printf(m, "block_size: 0x%x\n", adev->vm_manager.block_size);

0 commit comments

Comments
 (0)