[drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-22)
following up on #25 (comment 2156044), I'm opening a new bug to track remaining / new issues.
On Linux 6.9.2, suspending and resuming a lazor sc7180 while external display is connected over USB-C DP yields [drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-22)
(similar to the -107 error discussed at #25 (closed)). The system recovers relatively quickly from the error and the external display turns up normally (the issue is mainly perceptible by looking at the kernel logs or by noticing the slight delay in recovery).
dmesg snippet:
% grep drm dmesg-6.9.2
[ 0.342052] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 0
[ 3.914356] aux_bridge.aux_bridge aux_bridge.aux_bridge.0: error -ENODEV: failed to acquire drm_bridge
[ 4.248733] [drm:dpu_kms_hw_init:1053] dpu hardware revision:0x60020000
[ 4.257815] [drm] Initialized msm 1.12.0 20130625 for ae01000.display-controller on minor 1
[ 4.267800] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_sqe.fw from new location
[ 4.278415] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] loaded qcom/a630_gmu.bin from new location
[ 4.468890] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb frame buffer device
[ 73.514009] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[ 73.921409] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 73.937414] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[ 79.697997] [drm:dp_aux_isr] *ERROR* Unexpected DP AUX IRQ 0x01000000 when not busy
[ 90.966379] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]failed to get dspp on lm 0
[ 90.975354] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
[ 90.983592] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
[ 1185.831984] [drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-22)
[ 1190.140545] [drm:dp_aux_isr] *ERROR* Unexpected DP AUX IRQ 0x01000000 when not busy
[ 1185.831970] [dpu error]connector not connected 3
[ 1185.831984] [drm:drm_mode_config_helper_resume] *ERROR* Failed to resume (-22)
[ 1186.025863] OOM killer enabled.
[ 1186.029095] Restarting tasks ... done.
[ 1186.042834] random: crng reseeded on system resumption
[ 1186.048738] PM: suspend exit
[ 1187.633591] ath10k_snoc 18800000.wifi: chan info: invalid frequency 0 (idx 41 out of bounds)
[ 1188.194232] systemd-journald[682]: Under memory pressure, flushing caches.
[ 1190.140545] [drm:dp_aux_isr] *ERROR* Unexpected DP AUX IRQ 0x01000000 when not busy
Full dmesg log attached: dmesg-6.9.2