drm/amd/pm: Print the error on command submission
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 17 Nov 2021 18:39:26 +0000 (13:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Nov 2021 19:06:53 +0000 (14:06 -0500)
commite771d71d8d588aa0c0f9ba3e1b81ac5989ffcccf
tree8a14be5c7279703162eb7968a12356272217f586
parentdc78fea1e7fd895990179e2b32164193a9fd17d3
drm/amd/pm: Print the error on command submission

Print the error on command submission immediately after submitting to
the SMU. This is rate-limited. It helps to immediately know there was an
error on command submission, rather than leave it up to clients to report
the error, as sometimes they do not.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Alex Deucher <Alexander.Deucher@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c