linux/drivers/gpu/drm/amd
Luben Tuikov a6c40b1780 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>
2022-02-14 15:08:40 -05:00
..
acp
amdgpu drm/amdgpu: Show IP discovery in sysfs 2022-02-14 15:08:40 -05:00
amdkfd drm/amdkfd: replace err by dbg print at svm vram migration 2022-02-11 16:20:24 -05:00
display Merge tag 'amd-drm-next-5.18-2022-02-11-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-02-14 10:31:51 +10:00
include drm/amdkfd: Remove unused old debugger implementation 2022-02-09 16:57:51 -05:00
pm drm/amd/pm: fulfill the support for DriverSmuConfig table 2022-02-11 16:12:53 -05:00