Files
linux/drivers/gpu/drm
Jesse.zhang@amd.com 6c8d1f4b04 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>
2024-11-08 11:08:01 -05:00
..
2024-10-29 07:42:26 -03:00
2024-09-26 09:31:28 +02:00
2024-09-26 08:28:04 +02:00
2024-10-14 15:28:47 +02:00
2024-10-19 17:26:33 +03:00
2024-09-26 09:31:27 +02:00
2024-10-14 15:28:48 +02:00
2024-10-08 10:00:30 +02:00
2024-06-24 17:08:53 +03:00
2024-10-18 09:25:51 +02:00
2024-10-18 09:25:51 +02:00