Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 719b378d3718 ("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>

authored by

Sunil Khatri and committed by
Alex Deucher
476a4e10 aba4ead2

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
··· 2155 2155 return -EINVAL; 2156 2156 } 2157 2157 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)); 2159 2159 seq_printf(m, "max_pfn: 0x%llx\n", adev->vm_manager.max_pfn); 2160 2160 seq_printf(m, "num_level: 0x%x\n", adev->vm_manager.num_level); 2161 2161 seq_printf(m, "block_size: 0x%x\n", adev->vm_manager.block_size);