regression: 45ba3571 breaks some atomic commits on amdgpu
First, I recognize there's definitely an amdgpu bug here, but this is something that's trivial to reproduce by reverting or adding that commit, so I think it might also be wrong here.
First, my monitors: https://0x0.st/H4qD.txt
Reproduction steps:
- Start sway with multiple monitors, observe (most of the time) that one monitor does not work (for me it's HDMI-A-1)
- do
swaymsg 'outputs * enable'
- machine will freeze
- logs will show amdgpu having the atomic commit timeout
Oct 10 18:22:47 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* flip_done timed out
Oct 10 18:22:47 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* [CRTC:78:crtc-2] commit wait timed out
Oct 10 18:22:57 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* flip_done timed out
Oct 10 18:22:57 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* [CONNECTOR:103:HDMI-A-1] commit wait timed out
Oct 10 18:23:07 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* flip_done timed out
Oct 10 18:23:07 mami kernel: amdgpu 0000:0a:00.0: [drm] *ERROR* [PLANE:45:plane-1] commit wait timed out
Without this commit applied, my monitors work as normal.