1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd
Darren Powell f24044bd9b 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 4ea5081c82 ("drm/amd/powerplay: enable SMC message filter")
 commit bf36b52e78 ("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>
2022-04-19 13:58:32 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amd/amdgpu: Remove static from variable in RLCG Reg RW 2022-04-14 15:29:20 -04:00
amdkfd drm/amdkfd: only allow heavy-weight TLB flush on some ASICs for SVM too 2022-04-19 13:58:07 -04:00
display Revert "drm/amd/display: Pass HostVM enable flag into DCN3.1 DML" 2022-04-14 15:27:15 -04:00
include drm/amdgpu: Use flexible array member 2022-04-11 13:50:35 -04:00
pm amdgpu/pm: Clarify documentation of error handling in send_smc_mesg 2022-04-19 13:58:32 -04:00