This problem occurred in some of the older Adrenalin series drivers. As a work around, some users reported that disabling ULPS (Ultra Low Power State) prevented the issue from happening. It has been since resolved in later Adrenalin versions.
https://community.amd.com/t5/pc-drivers-software/monitor-fails-to-resume-from-sleep-s3-mode-with-23-...
Have you tried updating your graphics driver? What version do you have now?
Ryzen R7 5700X | B550 Gaming X | 2x16GB G.Skill 3600 | Radeon RX 7900XT
Ryzen R7 5700G | B550 Gaming X | 2x8GB G.Skill 4000 | Radeon Vega 8 IGP
Ryzen R5 5600 | B550 Gaming Edge | 4x8GB G.Skill 3600 | Radeon RX 6800XT