[PATCH 3/3] drm/amdgpu: print root PD address in PDE format instead of GPU
Alex Deucher
alexdeucher at gmail.com
Mon Aug 18 13:49:48 UTC 2025
On Mon, Aug 18, 2025 at 9:48 AM Sunil Khatri <sunil.khatri at amd.com> wrote:
>
> 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.
>
> Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
Please add a Fixes tag. With that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> index 127091de0f34..a70651050acf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
> @@ -2155,7 +2155,7 @@ static int amdgpu_pt_info_read(struct seq_file *m, void *unused)
> return -EINVAL;
> }
>
> - seq_printf(m, "gpu_address: 0x%llx\n", amdgpu_bo_gpu_offset(fpriv->vm.root.bo));
> + seq_printf(m, "pd_address: 0x%llx\n", amdgpu_gmc_pd_addr(fpriv->vm.root.bo));
> seq_printf(m, "max_pfn: 0x%llx\n", adev->vm_manager.max_pfn);
> seq_printf(m, "num_level: 0x%x\n", adev->vm_manager.num_level);
> seq_printf(m, "block_size: 0x%x\n", adev->vm_manager.block_size);
> --
> 2.34.1
>
More information about the amd-gfx
mailing list