diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2024-03-21 19:19:48 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-09 22:13:50 -0400 |
commit | 301661b00a0582555d38c7ea0f94235729b00963 (patch) | |
tree | cbe5d0f42ce088bd40a0e00b4fbf85bfdf776f27 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 7b8081ea67533628310bb23b84f887fca4319a86 (diff) |
drm/amd/pm: Add special handling for RAS messages
When a RAS fatal error is detected, PMFW will only process priority
messages. Other messages won't be taken up for processing and therefore
won't get any response in such a state.
Add logic to filter out non-priority messages when RAS error is
detected. Also, don't poll response response status register before
sending priority messages. Use firmware capability flag to determine
whether to filter priority messages.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions