diff options
author | Tony Yi <Tony.Yi@amd.com> | 2025-02-26 17:03:10 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-05 10:47:03 -0500 |
commit | a91d91b6004796b868374394962331a1322da7ab (patch) | |
tree | b51752e912c72404a338f4ae3b60fa383a816538 /arch/mips/loongson64/pm.c | |
parent | ca17c8e149112270b598791bbd98968fe9231115 (diff) |
drm/amdgpu: Add support for CPERs on virtualization
Add support for CPERs on VFs.
VFs do not receive PMFW messages directly; as such, they need to
query them from the host. To avoid hitting host event guard,
CPER queries need to be rate limited. CPER queries share the same
RAS telemetry buffer as error count query, so a mutex protecting
the shared buffer was added as well.
For readability, the amdgpu_detect_virtualization was refactored
into multiple individual functions.
Signed-off-by: Tony Yi <Tony.Yi@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'arch/mips/loongson64/pm.c')
0 files changed, 0 insertions, 0 deletions