diff options
author | Darren Powell <darren.powell@amd.com> | 2022-04-05 22:17:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-19 13:58:32 -0400 |
commit | f24044bd9b16a059e5773170fbfa1badc536d657 (patch) | |
tree | 1b8ef57a6083f44b43d485dd390a7e5fe3355b9e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | eea5c7b3390c6e006ba4cbd906447dd8cea8cfbf (diff) | |
download | linux-f24044bd9b16a059e5773170fbfa1badc536d657.tar.gz linux-f24044bd9b16a059e5773170fbfa1badc536d657.tar.bz2 linux-f24044bd9b16a059e5773170fbfa1badc536d657.zip |
amdgpu/pm: Clarify documentation of error handling in send_smc_mesg
Clarify the smu_cmn_send_smc_msg_with_param documentation to mention two
cases exist where messages are silently dropped with no error returned.
These cases occur in unusual situations where either:
1. the message type is not allowed to a virtual GPU, or
2. a PCI recovery is underway and the HW is not yet in sync with the SW
For more details see
commit 4ea5081c82c4 ("drm/amd/powerplay: enable SMC message filter")
commit bf36b52e781d ("drm/amdgpu: Avoid accessing HW when suspending SW state")
(v2)
Reworked with suggestions from Luben & Paul
(v3)
Updated wording as per Luben's feedback
Corrected error stating all messages denied on virtual GPU
(each GPU has mask of which messages are allowed)
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions