mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: Add amdgpu_discovery_info
Add amdgpu_discovery_info structure to keep all discovery related information. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -2123,10 +2123,9 @@ 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);
|
||||
if (adev->discovery.debugfs_blob.size)
|
||||
debugfs_create_blob("amdgpu_discovery", 0444, root,
|
||||
&adev->discovery.debugfs_blob);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user