diff options
| author | [email protected] <[email protected]> | 2024-11-05 07:22:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-11-08 16:08:01 +0000 |
| commit | 6c8d1f4b042e706ccd7575beb0397a75d545d71b (patch) | |
| tree | cab0149c597e5d4ae2d22c5e82aebab72c387ac9 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
| parent | drm/amdgpu: fix return random value when multiple threads read registers via ... (diff) | |
| download | kernel-6c8d1f4b042e706ccd7575beb0397a75d545d71b.tar.gz kernel-6c8d1f4b042e706ccd7575beb0397a75d545d71b.zip | |
drm/amdgpu: Add sysfs interface for gc reset mask
Add two sysfs interfaces for gfx and compute:
gfx_reset_mask
compute_reset_mask
These interfaces are 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)
v4: Fixing uninitialized variables (Tim)
Signed-off-by: Jesse Zhang <[email protected]>
Suggested-by: Alex Deucher <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
0 files changed, 0 insertions, 0 deletions
