System suspend hangs when i915/kbl_dmc_ver1_*.bin installed
To reproduce the issue: close lid or otherwise begin sleep on Dell Latitude 7490.
System architecture: x86_64
Kernel version: 6.1.0-rc2-13772-g77a7df4b4601
Linux distribution: ChromeOS (above kernel version and many others), Ubuntu (5.15), Fedora (5.17)
Machine: Dell Latitude 7490
Graphics: VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
As stated in a previous report on a similar device, this issue appears to occur for any kernel since the firmware was added long ago. I have reproduced with the drm-tip repo as suggested. I've reproduced the issue on Chrome OS (where I've primarily been working on the issue) as well as Ubuntu (ubuntu-22.04.1-desktop-amd64.iso
) and Fedora (Fedora-Workstation-Live-x86_64-36-1.5.iso
). Somewhat tangentially, for ChromeOS and similar environments, a commit to properly load the firmware file is required. I also had to pick this commit into drm-tip to properly load the firmware for ChromeOS, displayed in the logs as INFO kernel: [ 2.451771] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
. These logs should include all dmesg output up to crash with drm.debug=0xe log_buf_len=4M
boot parameters included. The best solution to the problem I've found so far is this patch, which disables dmc at compile time for this particular card (5917). Omitting the firmware file also seems to address the problem on this machine, as does booting with the kernel parameter i915.enable_dc=0
.