[AMD/ATI Renoir] kernel 6.2.0 hangs during boot when CONFIG_DRM_AMDGPU is enabled
Brief summary of the problem:
My laptop (lenovo P14s) hangs when booting kernel 6.2.0 with CONFIG_DRM_AMDGPU enabled. I'm attaching picture showing the hang. It hangs every boot, I can easily reproduce it by rebooting the system.
If I disable the CONFIG_DRM_AMDGPU or boot with command line parameter modprobe.blacklist=amdgpu, the system boots without any hangs.
In case modprobe.blacklist=amdgpu is used, I'm able to manually load amdgpu module after boot using modprobe. In such case the system doesn't hang and it seems the module loads ok, BUT the system hangs when I try to switch to tty1 (Ctrl+Alt+F1). I'm attaching dmesg showing such a load (ts [34853.603948]
onwards).
Hardware description:
- CPU:
AMD Ryzen 7 PRO 4750U with Radeon Graphics
- GPU:
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d1)
- System Memory: 8GB
- Display(s): laptop's integrated display
- Type of Display Connection: ?
System information:
- Distro name and Version: Debian 11.6
- Kernel version:
Linux p14s 6.2.0 #1 SMP PREEMPT_DYNAMIC Wed Feb 22 13:46:53 GMT 2023 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
- compile kernel 6.2.0 using the config I attached
- boot it at lenovo P14s (model id: 20Y1-000SUK)
Attached files:
Screenshots/video files
- 20230209_204427.jpg - screenshot showing the boot hang
Log files (for system lockups / game freezes / crashes)
- dmesg.txt.gz - dmesg after boot with amdgpu blacklisted and manually loaded some time after boot
Config files
- config-6.2.0.gz - my kernel config