summaryrefslogtreecommitdiff
path: root/tools/arch
diff options
context:
space:
mode:
authorJesse.zhang@amd.com <Jesse.zhang@amd.com>2024-10-29 14:33:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-11-08 11:45:29 -0500
commitea02ea9437deebb3d997e9662022159953ecf7e0 (patch)
tree736e197107f0b910571b9e16b434c783aa72eb59 /tools/arch
parent59fd50b8663b4e703b44f9b51a2e715dc6e344c1 (diff)
drm/amdgpu: Add sysfs interface for vpe reset mask
Add the sysfs interface for vpe: vpe_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/arch')
0 files changed, 0 insertions, 0 deletions