drm/amdgpu: add debugfs support for VM pagetable per client
authorSunil Khatri <sunil.khatri@amd.com>
Fri, 4 Jul 2025 07:55:47 +0000 (13:25 +0530)
committerChristian König <christian.koenig@amd.com>
Fri, 4 Jul 2025 14:00:06 +0000 (16:00 +0200)
commit719b378d371899c8bbaf0ce5f42bf7db4be819f9
treea98ff862f61fefd328b7de68cc5126b71e444da2
parent1fd45bc21cecea390ab9c21a2406bbbe3eed4b93
drm/amdgpu: add debugfs support for VM pagetable per client

Add a debugfs file under the client directory which shares
the root page table base address of the VM.

This address could be used to dump the pagetable for debug
memory issues.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20250704075548.1549849-4-sunil.khatri@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c