-
- Downloads
drm/amdgpu: Add sysfs interface for sdma reset mask
Add the sysfs interface for sdma: sdma_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>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c 41 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h 3 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c 9 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c 18 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c 23 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
- drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c 18 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
Loading
Please register or sign in to comment