mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
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>
This commit is contained in:
@@ -86,6 +86,7 @@ enum dmub_status {
|
||||
DMUB_STATUS_TIMEOUT,
|
||||
DMUB_STATUS_INVALID,
|
||||
DMUB_STATUS_HW_FAILURE,
|
||||
DMUB_STATUS_POWER_STATE_D3
|
||||
};
|
||||
|
||||
/* enum dmub_asic - dmub asic identifier */
|
||||
|
||||
Reference in New Issue
Block a user