diff options
author | Luben Tuikov <luben.tuikov@amd.com> | 2022-02-03 16:54:13 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-14 15:08:40 -0500 |
commit | a6c40b178092f41b9d6cc8615697c14b1e5a1c3a (patch) | |
tree | 8cb00bed3a0bc754c5a5e5a0865088da49c726ca /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 77608faa77196cb0f7af3fd0e3e26051f3de1db9 (diff) | |
download | linux-a6c40b178092f41b9d6cc8615697c14b1e5a1c3a.tar.gz linux-a6c40b178092f41b9d6cc8615697c14b1e5a1c3a.tar.bz2 linux-a6c40b178092f41b9d6cc8615697c14b1e5a1c3a.zip |
drm/amdgpu: Show IP discovery in sysfs
Add IP discovery data in sysfs. The format is:
/sys/class/drm/cardX/device/ip_discovery/die/D/B/I/<attrs>
where,
X is the card ID, an integer,
D is the die ID, an integer,
B is the IP HW ID, an integer, aka block type,
I is the IP HW ID instance, an integer.
<attrs> are the attributes of the block instance. At the moment these
include HW ID, instance number, major, minor, revision, number of base
addresses, and the base addresses themselves.
A symbolic link of the acronym HW ID is also created, under D/, if you
prefer to browse by something humanly accessible.
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Tom StDenis <tom.stdenis@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions