drm/amd/display: skip error logging when DMUB is inactive from S3
authorSamson Tam <samson.tam@amd.com>
Wed, 6 Dec 2023 02:25:36 +0000 (21:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 19:59:01 +0000 (14:59 -0500)
commit8b09656b22c052d02e4761eb4cbe611289866245
tree6b44edb7c807a1b1478ba119464da7f4d9f3cc35
parent006ad514a50cc49d904fd004b69c842ddfaabf1f
drm/amd/display: skip error logging when DMUB is inactive from S3

[Why]
On resume from S3, while DMUB is inactive, DMUB queue and execute
calls will not work.  Skip reporting errors in these scenarios

[How]
Add new return code during DMUB queue and execute calls when DMUB
is in S3 state. Skip logging errors in these scenarios

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c