You can check one of my old answers and I think this can be a related issue.
Besides based on the kernel logs you provided, it appears that your computer is experiencing issues with the AMDGPU (AMD graphics) driver. The logs indicate a warning related to the SMU (System Management Unit) and power gating.
Here are a few suggestions to troubleshoot and resolve the issue:
Update your graphics drivers: Ensure that you have the latest AMDGPU drivers installed for your graphics card. Visit the AMD website or your computer manufacturer's support website to download and install the latest drivers for your specific GPU model.
Check for firmware updates: In addition to updating the graphics drivers, check if there are any firmware updates available for your computer or GPU. Firmware updates can sometimes address compatibility issues and improve system stability.
Disable power management features: The warning message suggests an issue with power gating. You can try disabling power management features temporarily to see if it resolves the freezing issue. Open the power settings in your operating system and set the power profile to "High Performance" or disable any power-saving options.
Monitor system temperature: Overheating can cause system instability and freezing. Install a temperature monitoring tool (e.g., lm-sensors or a similar utility) to check if your GPU or other components are running at high temperatures. If temperatures are too high, ensure proper airflow in your computer case, clean any dust buildup, and consider using additional cooling solutions if necessary.
Test with a different GPU driver version: If the issue persists, you can try installing a different version of the AMDGPU driver. Sometimes, specific driver versions may work better with certain hardware configurations.
Report the issue: If none of the above steps resolve the problem, consider reporting the issue to the AMD support forums or contacting their support directly. Provide them with the kernel logs and any additional relevant information about your system configuration.
It's worth noting that troubleshooting hardware and driver issues can be complex, and the steps provided are general suggestions.