-
- Downloads
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 <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.h 8 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 44 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c 70 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h 2 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c 5 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c 18 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c 6 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c 6 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c 13 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
Loading
Please register or sign in to comment