diff options
author | 2024-10-29 14:36:35 +0800 | |
---|---|---|
committer | 2024-11-08 11:45:29 -0500 | |
commit | 96f0b56c34d257e4e7532eb99a071ca6c8497467 (patch) | |
tree | 58c51235d4538d30f12f30f2a6a9e5c27d72b947 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/amdgpu: Add sysfs interface for vpe reset mask (diff) | |
download | wireguard-linux-96f0b56c34d257e4e7532eb99a071ca6c8497467.tar.xz wireguard-linux-96f0b56c34d257e4e7532eb99a071ca6c8497467.zip |
drm/amdgpu: Add sysfs interface for jpeg reset mask
Add the sysfs interface for jpeg:
jpeg_reset_mask
The interface is read-only and show the resets supported by the IP.
For example, full adapter reset (mode1/mode2/BACO/etc),
soft reset, queue reset, and pipe reset.
V2: the sysfs node returns a text string instead of some flags (Christian)
v3: add a generic helper which takes the ring as parameter
and print the strings in the order they are applied (Christian)
check amdgpu_gpu_recovery before creating sysfs file itself,
and initialize supported_reset_types in IP version files (Lijo)
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions