mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amdgpu: add debugfs access to the IP discovery table
Useful for debugging and new asic validation. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1757,6 +1757,11 @@ int amdgpu_debugfs_init(struct amdgpu_device *adev)
|
||||
debugfs_create_blob("amdgpu_vbios", 0444, root,
|
||||
&adev->debugfs_vbios_blob);
|
||||
|
||||
adev->debugfs_discovery_blob.data = adev->mman.discovery_bin;
|
||||
adev->debugfs_discovery_blob.size = adev->mman.discovery_tmr_size;
|
||||
debugfs_create_blob("amdgpu_discovery", 0444, root,
|
||||
&adev->debugfs_discovery_blob);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user