Automatic restart and panic report
When the Mac "goes to sleep" an error occurs and the machine restarts. A panic report is generated:
panic(cpu 0 caller 0xffffff801623ebf1): AMDFramebufferVIB::setPowerState(0xffffff99dd768800 : 0xffffff7faebc48a8, 0 -> 1) timed out after 47300 ms @IOServicePM.cpp:5524
Panicked task 0xffffff9510c4e670: 219 threads: pid 0: kernel_task
Backtrace (CPU 0), panicked thread: 0xffffff904358e000, Frame : Return Address
What should be done? I have already reinstalled macOS Montrey version 12.1 and done numerous other tricks suggested on the internet.
iMac 21.5″ 4K, macOS 12.1